Skip to content

Commit

Permalink
fix: display form only for admins (DEV-4185) (#1863)
Browse files Browse the repository at this point in the history
  • Loading branch information
domsteinbach authored Oct 21, 2024
1 parent dfaf236 commit c2d04c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { ListItemService } from './list-item.service';
[length]="children.length"
[node]="child"
[isAdmin]="isAdmin"></app-list-item-element>
<app-list-item-form style="display: block; margin-left: 46px"></app-list-item-form>
<app-list-item-form *ngIf="isAdmin" style="display: block; margin-left: 46px"></app-list-item-form>
`,
styles: [':host { display: block; }'],
providers: [ListItemService],
Expand Down

0 comments on commit c2d04c6

Please sign in to comment.