Skip to content

Commit

Permalink
embedded cluster state display should not split up application state (#…
Browse files Browse the repository at this point in the history
…4367)

* embedded cluster state display should not split up application state

* fix fmt
  • Loading branch information
laverya authored Jan 17, 2024
1 parent 813ebea commit dcb23a6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions web/src/features/Dashboard/components/AppStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@ export default class AppStatus extends Component<Props, State> {
>
{Utilities.toTitleCase(appStatus)}
</span>
{this.props.hasStatusInformers && (
<span
onClick={this.props.onViewAppStatusDetails}
className="link u-marginLeft--10 u-fontSize--small"
>
{" "}
Details{" "}
</span>
)}
{!isEmpty(embeddedClusterState) && (
<>
<span className="tw-mr-1 tw-ml-4 tw-text-sm tw-text-gray-500">
Expand Down Expand Up @@ -138,15 +147,6 @@ export default class AppStatus extends Component<Props, State> {
</span>
</>
)}
{this.props.hasStatusInformers && (
<span
onClick={this.props.onViewAppStatusDetails}
className="link u-marginLeft--10 u-fontSize--small"
>
{" "}
Details{" "}
</span>
)}
<Link
to={`${url}/config/${app?.downstream?.currentVersion?.sequence}`}
className="link u-marginLeft--10 u-borderLeft--gray u-paddingLeft--10 u-fontSize--small"
Expand Down

0 comments on commit dcb23a6

Please sign in to comment.