fix(awooop): show reboot blockers after backup clear
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 1m4s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 1m4s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
This commit is contained in:
@@ -9109,7 +9109,14 @@ function ManagerSituationBoard({
|
||||
icon: Database,
|
||||
label: t("cards.impact.label"),
|
||||
value: isRebootP0 ? t("cards.impact.rebootValue") : t("cards.impact.value"),
|
||||
detail: isRebootP0 ? t("cards.impact.rebootDetail") : t("cards.impact.detail"),
|
||||
detail: isRebootP0
|
||||
? serviceBackupBlockerCount > 0
|
||||
? t("cards.impact.rebootDetail")
|
||||
: t("cards.impact.rebootBackupClearDetail", {
|
||||
hostCount: hostBootBlockerCount,
|
||||
windowsCount: windows99BlockerCount,
|
||||
})
|
||||
: t("cards.impact.detail"),
|
||||
tone: "border-[#c9d8ea] bg-[#eef5ff] text-[#1f5b9b]",
|
||||
},
|
||||
{
|
||||
@@ -9136,15 +9143,20 @@ function ManagerSituationBoard({
|
||||
detail: isRebootP0
|
||||
? serviceBackupBlockerCount > 0
|
||||
? t("cards.next.rebootDetail", {
|
||||
count: serviceBackupBlockerCount,
|
||||
})
|
||||
count: serviceBackupBlockerCount,
|
||||
})
|
||||
: windows99BlockerCount > 0 && hostBootBlockerCount > 0
|
||||
? t("cards.next.rebootHostWindows99Detail", {
|
||||
hostCount: hostBootBlockerCount,
|
||||
windowsCount: windows99BlockerCount,
|
||||
})
|
||||
: windows99BlockerCount > 0
|
||||
? t("cards.next.rebootWindows99Detail", {
|
||||
count: windows99BlockerCount,
|
||||
})
|
||||
count: windows99BlockerCount,
|
||||
})
|
||||
: t("cards.next.rebootHostDetail", {
|
||||
count: hostBootBlockerCount,
|
||||
})
|
||||
count: hostBootBlockerCount,
|
||||
})
|
||||
: t("cards.next.detail"),
|
||||
tone: "border-[#cbd7bf] bg-[#f4faef] text-[#3d6b24]",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user