diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index c22fdc535..4964096c7 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -8510,21 +8510,21 @@ Saved view "" deleted. src/app/components/manage/saved-views/saved-views.component.ts - 132 + 133 Views saved successfully. src/app/components/manage/saved-views/saved-views.component.ts - 157 + 158 Error while saving views. src/app/components/manage/saved-views/saved-views.component.ts - 162 + 163 diff --git a/src-ui/src/app/components/manage/saved-views/saved-views.component.html b/src-ui/src/app/components/manage/saved-views/saved-views.component.html index 58111fa5e..296cf71ac 100644 --- a/src-ui/src/app/components/manage/saved-views/saved-views.component.html +++ b/src-ui/src/app/components/manage/saved-views/saved-views.component.html @@ -62,7 +62,7 @@ } - @if (!savedViews) { + @if (loading) {
  • Loading...
    diff --git a/src-ui/src/app/components/manage/saved-views/saved-views.component.ts b/src-ui/src/app/components/manage/saved-views/saved-views.component.ts index c9ccf9355..ee2b00c2b 100644 --- a/src-ui/src/app/components/manage/saved-views/saved-views.component.ts +++ b/src-ui/src/app/components/manage/saved-views/saved-views.component.ts @@ -61,11 +61,11 @@ export class SavedViewsComponent private toastService: ToastService ) { super() + this.settings.organizingSidebarSavedViews = true } ngOnInit(): void { - this.settings.organizingSidebarSavedViews = true - + this.loading = true this.savedViewService.listAll().subscribe((r) => { this.savedViews = r.results this.initialize() @@ -78,6 +78,7 @@ export class SavedViewsComponent } private initialize() { + this.loading = false this.emptyGroup(this.savedViewsGroup) let storeData = {