Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix: spacing in reset and incorrect display in saved views (#6324)

shamoon7afc91e7b1c0
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 5a52c39c1..1cfa4fff9 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) {
<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) {
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 147c0272f..fde92973d 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() {