From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 7 Apr 2024 20:50:31 +0000 (-0700) Subject: Fix: spacing in reset and incorrect display in saved views (#6324) X-Git-Tag: v2.7.2~1^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7afc91e7b1c01dec3d2c88ffc650c4fc69e94269;p=thirdparty%2Fpaperless-ngx.git Fix: spacing in reset and incorrect display in saved views (#6324) --- diff --git a/src-ui/src/app/components/document-list/document-list.component.html b/src-ui/src/app/components/document-list/document-list.component.html index 5a52c39c10..1cfa4fff96 100644 --- a/src-ui/src/app/components/document-list/document-list.component.html +++ b/src-ui/src/app/components/document-list/document-list.component.html @@ -99,7 +99,7 @@ @if (list.selected.size === 0) { {list.collectionSize, plural, =1 {One document} other {{{list.collectionSize || 0}} documents}} } @if (isFiltered) { - (filtered) +  (filtered) } } @if (!list.isReloading && isFiltered) { diff --git a/src-ui/src/app/components/document-list/document-list.component.ts b/src-ui/src/app/components/document-list/document-list.component.ts index 147c0272f7..fde92973d4 100644 --- a/src-ui/src/app/components/document-list/document-list.component.ts +++ b/src-ui/src/app/components/document-list/document-list.component.ts @@ -86,7 +86,7 @@ export class DocumentListComponent } get isFiltered() { - return this.list.filterRules?.length > 0 + return this.filterEditor.rulesModified } getTitle() {