Skip to content

Commit cacbfaa

Browse files
committed
prettier
1 parent 1c9d81a commit cacbfaa

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

web/src/components/apps/EmbeddedClusterManagement.tsx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -538,14 +538,15 @@ const EmbeddedClusterManagement = ({
538538
to the cluster, and view workloads running on each node.
539539
</p>
540540
</div>
541-
{Utilities.sessionRolesHasOneOf([rbacRoles.CLUSTER_ADMIN]) && !Utilities.isInitialAppInstall(app) && (
542-
<button
543-
className="btn primary tw-ml-auto tw-w-fit tw-h-fit"
544-
onClick={onAddNodeClick}
545-
>
546-
Add node
547-
</button>
548-
)}
541+
{Utilities.sessionRolesHasOneOf([rbacRoles.CLUSTER_ADMIN]) &&
542+
!Utilities.isInitialAppInstall(app) && (
543+
<button
544+
className="btn primary tw-ml-auto tw-w-fit tw-h-fit"
545+
onClick={onAddNodeClick}
546+
>
547+
Add node
548+
</button>
549+
)}
549550
</>
550551
)}
551552
</div>

0 commit comments

Comments
 (0)