Distinguish verified recovery rejections
This commit is contained in:
@@ -476,6 +476,7 @@ function stateTone(state: string): string {
|
||||
|
||||
function recoveryTone(state: string): string {
|
||||
if (["succeeded", "recovered"].includes(state)) return "success";
|
||||
if (state === "rejected") return "warning";
|
||||
if (["failed", "recovery_required"].includes(state)) return "error";
|
||||
if (["running", "recovering", "prepared"].includes(state)) return "warning";
|
||||
return "inactive";
|
||||
|
||||
Reference in New Issue
Block a user