]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: spacing in reset and incorrect display in saved views (#6324)
authorshamoon <4887959+shamoon@users.noreply.github.com>
Sun, 7 Apr 2024 20:50:31 +0000 (13:50 -0700)
committerGitHub <noreply@github.com>
Sun, 7 Apr 2024 20:50:31 +0000 (20:50 +0000)
src-ui/src/app/components/document-list/document-list.component.html
src-ui/src/app/components/document-list/document-list.component.ts

index 5a52c39c100f38544cfaff8910a6b2681823f335..1cfa4fff96b50eb8be8d0314265cc152eead2aa0 100644 (file)
@@ -99,7 +99,7 @@
         @if (list.selected.size === 0) {
           <span i18n>{list.collectionSize, plural, =1 {One document} other {{{list.collectionSize || 0}} documents}}</span>
           }&nbsp;@if (isFiltered) {
-          <span i18n>(filtered)</span>
+            &nbsp;<span i18n>(filtered)</span>
         }
       }
       @if (!list.isReloading && isFiltered) {
index 147c0272f7a02101294f93c80863dd16794e93b6..fde92973d4eb2e2cd94d5f37bfa402cc3c43923d 100644 (file)
@@ -86,7 +86,7 @@ export class DocumentListComponent
   }
 
   get isFiltered() {
-    return this.list.filterRules?.length > 0
+    return this.filterEditor.rulesModified
   }
 
   getTitle() {