]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: isFiltered check before filter editor init
authorshamoon <4887959+shamoon@users.noreply.github.com>
Sun, 7 Apr 2024 22:38:38 +0000 (15:38 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Sun, 7 Apr 2024 22:38:38 +0000 (15:38 -0700)
src-ui/src/app/components/document-list/document-list.component.ts

index fde92973d4eb2e2cd94d5f37bfa402cc3c43923d..537e24601cf0de2c3d4886ff96d37da244b67357 100644 (file)
@@ -86,7 +86,7 @@ export class DocumentListComponent
   }
 
   get isFiltered() {
-    return this.filterEditor.rulesModified
+    return !!this.filterEditor?.rulesModified
   }
 
   getTitle() {