From 4e157ac85691998bae06672a49f5a329cb28e41e Mon Sep 17 00:00:00 2001 From: Rob Fellows Date: Fri, 15 Dec 2023 08:38:14 -0500 Subject: [PATCH] remove unused items from processor-status-listing.component.ts --- .../processor-status-listing.component.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/summary/ui/processor-status-listing/processor-status-listing.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/summary/ui/processor-status-listing/processor-status-listing.component.ts index 47c63de7535d7..eb81f67aa2442 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/summary/ui/processor-status-listing/processor-status-listing.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/summary/ui/processor-status-listing/processor-status-listing.component.ts @@ -18,7 +18,6 @@ import { Component } from '@angular/core'; import { Store } from '@ngrx/store'; import { - selectClusterSummary, selectProcessorIdFromRoute, selectProcessorStatus, selectProcessorStatusSnapshots, @@ -29,7 +28,6 @@ import { import { ProcessorStatusSnapshotEntity, SummaryListingState } from '../../state/summary-listing'; import { selectUser } from '../../../../state/user/user.selectors'; import { initialState } from '../../state/summary-listing/summary-listing.reducer'; -import { Router } from '@angular/router'; import { openStatusHistoryDialog } from '../../../../state/status-history/status-history.actions'; import { ComponentType } from '../../../../state/shared'; import { filter, switchMap, take } from 'rxjs'; @@ -42,7 +40,6 @@ import * as SummaryListingActions from '../../state/summary-listing/summary-list styleUrls: ['./processor-status-listing.component.scss'] }) export class ProcessorStatusListing { - clusterSummary$ = this.store.select(selectClusterSummary); processorStatusSnapshots$ = this.store.select(selectProcessorStatusSnapshots); loadedTimestamp$ = this.store.select(selectSummaryListingLoadedTimestamp); summaryListingStatus$ = this.store.select(selectSummaryListingStatus); @@ -51,8 +48,7 @@ export class ProcessorStatusListing { currentUser$ = this.store.select(selectUser); constructor( - private store: Store, - private router: Router + private store: Store ) { this.store .select(selectViewStatusHistory)