File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
client/src/app/dashboard/table-all Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 29
29
</ mat-form-field >
30
30
</ div >
31
31
< div class ="col-lg-2 col-md-2 col-sm-2 ">
32
- < button mat-raised-button color ="primary " id ="addButton " (click) ="openAddDialog() "> Add
32
+ < div *ngIf ="authService.userIsAdmin() ">
33
+ < button mat-raised-button color ="primary " id ="addButton " (click) ="openAddDialog() "> Add
33
34
Instance</ button >
35
+ </ div >
34
36
</ div >
35
37
</ div >
36
38
</ div >
150
152
</ ng-template >
151
153
< div *ngIf ="!hideControlElements ">
152
154
< mat-paginator class ="paginator " [pageSizeOptions] ="[5, 10, 20] "> </ mat-paginator >
153
- < div *ngIf ="authService.userIsAdmin() ">
154
- < div class ="button-row ">
155
- < button mat-raised-button color ="primary " id ="addButton " (click) ="openAddDialog() "> Add Instance</ button >
156
- </ div >
157
- </ div >
158
155
</ div >
You can’t perform that action at this time.
0 commit comments