From b20c92ef2e9f17f71f5db8e72cc96a486d9593ef Mon Sep 17 00:00:00 2001 From: QooQooDass Date: Thu, 9 Feb 2023 13:27:27 +0900 Subject: [PATCH] [#noissue] Cleanup unused code --- .../main-contents/main-contents-container.component.html | 2 +- .../main-contents/main-contents-container.component.ts | 4 ---- .../server-status/server-status-container.component.html | 1 - .../server-status/server-status-container.component.ts | 5 ----- 4 files changed, 1 insertion(+), 11 deletions(-) diff --git a/web/src/main/angular/src/app/core/components/main-contents/main-contents-container.component.html b/web/src/main/angular/src/app/core/components/main-contents/main-contents-container.component.html index 3cf4f06dfc87..28f4f190865b 100644 --- a/web/src/main/angular/src/app/core/components/main-contents/main-contents-container.component.html +++ b/web/src/main/angular/src/app/core/components/main-contents/main-contents-container.component.html @@ -1,5 +1,5 @@
-
+
diff --git a/web/src/main/angular/src/app/core/components/main-contents/main-contents-container.component.ts b/web/src/main/angular/src/app/core/components/main-contents/main-contents-container.component.ts index d37c2644ca02..618bd499044e 100644 --- a/web/src/main/angular/src/app/core/components/main-contents/main-contents-container.component.ts +++ b/web/src/main/angular/src/app/core/components/main-contents/main-contents-container.component.ts @@ -13,8 +13,6 @@ import { UrlPathId } from 'app/shared/models'; changeDetection: ChangeDetectionStrategy.OnPush }) export class MainContentsContainerComponent implements OnInit { - sideNavigationUI: boolean; - showElements$: Observable; enableRealTime$: Observable; @@ -29,8 +27,6 @@ export class MainContentsContainerComponent implements OnInit { ) {} ngOnInit() { - this.sideNavigationUI = this.webAppSettingDataService.getExperimentalOption('sideNavigationUI'); - this.showElements$ = this.newUrlStateNotificationService.onUrlStateChange$.pipe( map((urlService: NewUrlStateNotificationService) => urlService.hasValue(UrlPathId.PERIOD, UrlPathId.END_TIME)) ); diff --git a/web/src/main/angular/src/app/core/components/server-status/server-status-container.component.html b/web/src/main/angular/src/app/core/components/server-status/server-status-container.component.html index d3ddb17f4a1d..a8e9c64c7cde 100644 --- a/web/src/main/angular/src/app/core/components/server-status/server-status-container.component.html +++ b/web/src/main/angular/src/app/core/components/server-status/server-status-container.component.html @@ -1,6 +1,5 @@
-
  • Total {{node.instanceCount}}
  • Error {{node.instanceErrorCount || 0}}
  • diff --git a/web/src/main/angular/src/app/core/components/server-status/server-status-container.component.ts b/web/src/main/angular/src/app/core/components/server-status/server-status-container.component.ts index 2a5d039723a0..345ca78b554e 100644 --- a/web/src/main/angular/src/app/core/components/server-status/server-status-container.component.ts +++ b/web/src/main/angular/src/app/core/components/server-status/server-status-container.component.ts @@ -17,8 +17,6 @@ export class ServerStatusContainerComponent implements OnInit, OnDestroy { private _isInfoPerServerShow: boolean; private selectedAgent = ''; - sideNavigationUI: boolean; - enableRealTime: boolean; node: INodeInfo; isLoading = false; @@ -35,12 +33,9 @@ export class ServerStatusContainerComponent implements OnInit, OnDestroy { private analyticsService: AnalyticsService, private cd: ChangeDetectorRef, private messageQueueService: MessageQueueService, - private webAppSettingDataService: WebAppSettingDataService, ) {} ngOnInit() { - this.sideNavigationUI = this.webAppSettingDataService.getExperimentalOption('sideNavigationUI'); - this.newUrlStateNotificationService.onUrlStateChange$.pipe( takeUntil(this.unsubscribe) ).subscribe((urlService: NewUrlStateNotificationService) => {