mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-13 03:27:13 +00:00
Fix: fix saved views triggering changeafterchecked warning
This commit is contained in:
1 parent
7fbe4d0aad
commit
aef68f0b41
3 files changed
+7
-6
No files matched your search
@@ -62,7 +62,7 @@
|
||||
</li>
|
||||
}
|
||||
|
||||
@if (!savedViews) {
|
||||
@if (loading) {
|
||||
<li class="list-group-item">
|
||||
<div class="spinner-border spinner-border-sm fw-normal ms-2 me-auto" role="status"></div>
|
||||
<div class="visually-hidden" i18n>Loading...</div>
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in new issue
Block a user