From 9e9266b92a7a40a6e97c03124795f409ad0083d6 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 28 Mar 2022 00:06:42 -0700 Subject: [PATCH] Remove unused var --- .../app/components/document-list/document-list.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 19ada6785..fac5e3535 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 @@ -68,7 +68,6 @@ export class DocumentListComponent implements OnInit, OnDestroy, AfterViewInit { unmodifiedFilterRules: FilterRule[] = [] private unsubscribeNotifier: Subject = new Subject() - private consumptionFinishedSubscription: Subscription get isFiltered() { return this.list.filterRules?.length > 0 @@ -101,7 +100,7 @@ export class DocumentListComponent implements OnInit, OnDestroy, AfterViewInit { this.displayMode = localStorage.getItem('document-list:displayMode') } - this.consumptionFinishedSubscription = this.consumerStatusService + this.consumerStatusService .onDocumentConsumptionFinished() .pipe(takeUntil(this.unsubscribeNotifier)) .subscribe(() => {