Skip to content

Commit

Permalink
chore(meshupgrade): improve aborted banner
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon committed May 6, 2024
1 parent b35d48a commit a9243e8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions plugins/lime-plugin-mesh-wide-upgrade/src/meshUpgradePage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Trans } from "@lingui/macro";
import { useState } from "preact/hooks";

import { StatusIcon } from "components/icons/status";
import Loading from "components/loading";
import Notification from "components/notifications/notification";

Expand Down Expand Up @@ -70,8 +71,12 @@ const MeshWideUpgrade = () => {
</Trans>
</Notification>
{thisNode.upgrade_state === "ABORTED" && (
// todo(kon): implement this properly
<div className={"px-4 py-4 w-full bg-info"}>
<div
className={
"flex flex-row gap-3 justify-start content-center px-4 py-4 w-full bg-primary-card "
}
>
<StatusIcon status={"success"} />
<Trans>This node aborted successfully</Trans>
</div>
)}
Expand Down

0 comments on commit a9243e8

Please sign in to comment.