Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
miaawong committed Aug 27, 2024
1 parent 1c9d81a commit cacbfaa
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions web/src/components/apps/EmbeddedClusterManagement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -538,14 +538,15 @@ const EmbeddedClusterManagement = ({
to the cluster, and view workloads running on each node.
</p>
</div>
{Utilities.sessionRolesHasOneOf([rbacRoles.CLUSTER_ADMIN]) && !Utilities.isInitialAppInstall(app) && (
<button
className="btn primary tw-ml-auto tw-w-fit tw-h-fit"
onClick={onAddNodeClick}
>
Add node
</button>
)}
{Utilities.sessionRolesHasOneOf([rbacRoles.CLUSTER_ADMIN]) &&
!Utilities.isInitialAppInstall(app) && (
<button
className="btn primary tw-ml-auto tw-w-fit tw-h-fit"
onClick={onAddNodeClick}
>
Add node
</button>
)}
</>
)}
</div>
Expand Down

0 comments on commit cacbfaa

Please sign in to comment.