From 716005fbd265c734b1884a6e25818eaff188a554 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+nikonratm@users.noreply.github.com> Date: Wed, 6 Jan 2021 10:57:13 -0800 Subject: [PATCH] restore function was lost in merge --- .../app/components/document-list/document-list.component.ts | 4 ++++ 1 file changed, 4 insertions(+) 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 e9a0510c4..50f61bfe5 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 @@ -35,6 +35,10 @@ export class DocumentListComponent implements OnInit { filterRulesModified: boolean = false + get isFiltered() { + return this.list.filterRules?.length > 0 + } + getTitle() { return this.list.savedViewTitle || $localize`Documents` }