diff --git a/web/src/pages/admin-overview/cards/BackupStatusCard.ts b/web/src/pages/admin-overview/cards/BackupStatusCard.ts index f3117c446..787d77fff 100644 --- a/web/src/pages/admin-overview/cards/BackupStatusCard.ts +++ b/web/src/pages/admin-overview/cards/BackupStatusCard.ts @@ -37,10 +37,9 @@ export class BackupStatusCard extends AdminStatusCard { getStatus(value: StatusEnum): Promise { switch (value) { - case StatusEnum.Warning: + case StatusEnum.Successful: return Promise.resolve({ - icon: "fa fa-exclamation-triangle pf-m-warning", - message: html`${t`Backup finished with warnings/backup not supported.`}`, + icon: "fa fa-check-circle pf-m-success", }); case StatusEnum.Error: return Promise.resolve({ @@ -49,7 +48,8 @@ export class BackupStatusCard extends AdminStatusCard { }); default: return Promise.resolve({ - icon: "fa fa-check-circle pf-m-success", + icon: "fa fa-exclamation-triangle pf-m-warning", + message: html`${t`Backup finished with warnings/backup not supported.`}`, }); } }