diff --git a/apps/client/src/app/components/admin-tag/admin-tag.component.ts b/apps/client/src/app/components/admin-tag/admin-tag.component.ts index e42dc042a..c00fe3a61 100644 --- a/apps/client/src/app/components/admin-tag/admin-tag.component.ts +++ b/apps/client/src/app/components/admin-tag/admin-tag.component.ts @@ -56,9 +56,14 @@ import { CreateOrUpdateTagDialogParams } from './create-or-update-tag-dialog/int export class GfAdminTagComponent implements OnInit { public readonly locale = input(getLocale()); - public dataSource = new MatTableDataSource(); - public displayedColumns = ['name', 'userId', 'activities', 'actions']; - public tags: Tag[]; + protected dataSource = new MatTableDataSource(); + protected readonly displayedColumns = [ + 'name', + 'userId', + 'activities', + 'actions' + ]; + protected tags: Tag[]; private readonly deviceType = computed( () => this.deviceDetectorService.deviceInfo().deviceType @@ -103,7 +108,7 @@ export class GfAdminTagComponent implements OnInit { this.fetchTags(); } - public onDeleteTag(aId: string) { + protected onDeleteTag(aId: string) { this.notificationService.confirm({ confirmFn: () => { this.deleteTag(aId); @@ -113,7 +118,7 @@ export class GfAdminTagComponent implements OnInit { }); } - public onUpdateTag({ id }: Tag) { + protected onUpdateTag({ id }: Tag) { this.router.navigate([], { queryParams: { editTagDialog: true, tagId: id } });