From 0b343f65c5de616d0709a865a8edcf39c48be8c7 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Wed, 30 Sep 2026 17:06:31 +0200 Subject: [PATCH] Add loading indicator --- .../app/components/admin-tag/admin-tag.component.html | 11 +++++++++++ .../app/components/admin-tag/admin-tag.component.ts | 9 +++++++++ 2 files changed, 20 insertions(+) diff --git a/apps/client/src/app/components/admin-tag/admin-tag.component.html b/apps/client/src/app/components/admin-tag/admin-tag.component.html index 83f7b559d4..2e8750093a 100644 --- a/apps/client/src/app/components/admin-tag/admin-tag.component.html +++ b/apps/client/src/app/components/admin-tag/admin-tag.component.html @@ -141,6 +141,17 @@ +@if (isLoading) { + +} + this.deviceDetectorService.deviceInfo().deviceType ); + private readonly paginator = viewChild.required(MatPaginator); private readonly sort = viewChild.required(MatSort); @@ -163,6 +168,8 @@ export class GfAdminTagComponent implements OnInit { } private fetchTags() { + this.isLoading = true; + this.dataService .fetchTags() .pipe(takeUntilDestroyed(this.destroyRef)) @@ -185,6 +192,8 @@ export class GfAdminTagComponent implements OnInit { this.dataService.updateInfo(); + this.isLoading = false; + this.changeDetectorRef.markForCheck(); }); }