From 4b31f8e63e29dbfcb71ab5e444b7e1de92f633e9 Mon Sep 17 00:00:00 2001 From: Denys Butenko Date: Fri, 23 Aug 2024 16:42:58 +0700 Subject: [PATCH] NAS-130665: Update Last Resilver Never as neutral (#10515) --- .../widgets/storage/interfaces/pool-info.interface.ts | 2 ++ .../storage/widget-storage/widget-storage.component.ts | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/pages/dashboard/widgets/storage/interfaces/pool-info.interface.ts b/src/app/pages/dashboard/widgets/storage/interfaces/pool-info.interface.ts index 7bc95bf0ee6..8e4a355dcf3 100644 --- a/src/app/pages/dashboard/widgets/storage/interfaces/pool-info.interface.ts +++ b/src/app/pages/dashboard/widgets/storage/interfaces/pool-info.interface.ts @@ -11,6 +11,7 @@ export enum StatusLevel { Safe = 'safe', Warn = 'warn', Error = 'error', + Neutral = 'neutral', } export enum StatusIcon { @@ -19,6 +20,7 @@ export enum StatusIcon { MdiAlert = 'mdi-alert', MdiCloseCircle = 'mdi-close-circle', ArrowCircleRight = 'arrow_circle_right', + Neutral = 'mdi-minus-circle', } export interface PoolInfo { diff --git a/src/app/pages/dashboard/widgets/storage/widget-storage/widget-storage.component.ts b/src/app/pages/dashboard/widgets/storage/widget-storage/widget-storage.component.ts index eba0a283db3..4c6e0f00d9f 100644 --- a/src/app/pages/dashboard/widgets/storage/widget-storage/widget-storage.component.ts +++ b/src/app/pages/dashboard/widgets/storage/widget-storage/widget-storage.component.ts @@ -249,8 +249,8 @@ export class WidgetStorageComponent { level = isScanFinished ? StatusLevel.Safe : StatusLevel.Warn; value = this.formatDateTimePipe.transform(endTime); } else { - icon = StatusIcon.MdiCloseCircle; - level = StatusLevel.Error; + icon = StatusIcon.Neutral; + level = StatusLevel.Neutral; value = this.translate.instant('Never'); }