From 858fcb85542586c1fc697898916fb1c11d64c080 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 11 Apr 2021 18:48:24 +0200 Subject: [PATCH] web/admin: classify no connected workers as error Signed-off-by: Jens Langhammer --- web/src/pages/admin-overview/cards/BackupStatusCard.ts | 2 +- web/src/pages/admin-overview/cards/WorkerStatusCard.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/pages/admin-overview/cards/BackupStatusCard.ts b/web/src/pages/admin-overview/cards/BackupStatusCard.ts index 15b107811..707cd1e90 100644 --- a/web/src/pages/admin-overview/cards/BackupStatusCard.ts +++ b/web/src/pages/admin-overview/cards/BackupStatusCard.ts @@ -31,7 +31,7 @@ export class BackupStatusCard extends AdminStatusCard { }); case TaskStatusEnum.Error: return Promise.resolve({ - icon: "fa fas fa-times-circle pf-m-danger", + icon: "fa fa-times-circle pf-m-danger", message: t`Backup finished with errors.`, }); default: diff --git a/web/src/pages/admin-overview/cards/WorkerStatusCard.ts b/web/src/pages/admin-overview/cards/WorkerStatusCard.ts index f473244c2..f93dc1402 100644 --- a/web/src/pages/admin-overview/cards/WorkerStatusCard.ts +++ b/web/src/pages/admin-overview/cards/WorkerStatusCard.ts @@ -16,7 +16,7 @@ export class WorkersStatusCard extends AdminStatusCard { getStatus(value: number): Promise { if (value < 1) { return Promise.resolve({ - icon: "fa fa-exclamation-triangle pf-m-warning", + icon: "fa fa-times-circle pf-m-danger", message: t`No workers connected. Background tasks will not run.`, }); } else {