Skip to content

Commit

Permalink
NAS-130665: Update Last Resilver Never as neutral (#10515)
Browse files Browse the repository at this point in the history
  • Loading branch information
denysbutenko authored Aug 23, 2024
1 parent de49a9e commit 4b31f8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export enum StatusLevel {
Safe = 'safe',
Warn = 'warn',
Error = 'error',
Neutral = 'neutral',
}

export enum StatusIcon {
Expand All @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

Expand Down

0 comments on commit 4b31f8e

Please sign in to comment.