Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya committed Jan 17, 2024
1 parent b03fc9e commit def32b4
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions web/src/features/Dashboard/components/AppStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,33 +119,33 @@ export default class AppStatus extends Component<Props, State> {
</span>
)}
{!isEmpty(embeddedClusterState) && (
<>
<>
<span className="tw-mr-1 tw-ml-4 tw-text-sm tw-text-gray-500">
Cluster State:
</span>
<span
className={`status-dot ${
embeddedClusterState === "Installed"
? "u-color--success"
: embeddedClusterState === "Installing" ||
embeddedClusterState === "Enqueued"
? "u-color--warning"
: "u-color--error"
}`}
/>
<span
className={`u-fontSize--normal u-fontWeight--medium ${
embeddedClusterState === "Installed"
? "u-textColor--bodyCopy"
: embeddedClusterState === "Installing" ||
embeddedClusterState === "Enqueued"
? "u-textColor--warning"
: "u-textColor--error"
}`}
>
<span
className={`status-dot ${
embeddedClusterState === "Installed"
? "u-color--success"
: embeddedClusterState === "Installing" ||
embeddedClusterState === "Enqueued"
? "u-color--warning"
: "u-color--error"
}`}
/>
<span
className={`u-fontSize--normal u-fontWeight--medium ${
embeddedClusterState === "Installed"
? "u-textColor--bodyCopy"
: embeddedClusterState === "Installing" ||
embeddedClusterState === "Enqueued"
? "u-textColor--warning"
: "u-textColor--error"
}`}
>
{Utilities.clusterState(embeddedClusterState)}
</span>
</>
</>
)}
<Link
to={`${url}/config/${app?.downstream?.currentVersion?.sequence}`}
Expand Down

0 comments on commit def32b4

Please sign in to comment.