Skip to content

Commit

Permalink
fix(format): format DiscoverPodConnect.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuzikar authored and tadayosi committed Apr 16, 2024
1 parent e7a017e commit 553a243
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/online-shell/src/discover/DiscoverPodConnect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@ export const DiscoverPodConnect: React.FunctionComponent<DiscoverPodConnectProps
}

const disableContainerButton = (): boolean => {
return mgmtService.podStatus(props.pod.mPod) !== 'Running' ||
(! props.pod.mPod.getManagement().status.managed) ||
connectionNames.length === 0 || mgmtError !== null
return (
mgmtService.podStatus(props.pod.mPod) !== 'Running' ||
!props.pod.mPod.getManagement().status.managed ||
connectionNames.length === 0 ||
mgmtError !== null
)
}

const onConnect = (connectName: string) => {
Expand Down

0 comments on commit 553a243

Please sign in to comment.