Skip to content

Commit 8bcbc1b

Browse files
author
rvdwegen
committed
Prevent portals being used before loading tenants is done
1 parent 807d119 commit 8bcbc1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ const Page = () => {
203203
<BulkActionsMenu
204204
buttonName="Portals"
205205
actions={PortalMenuItems}
206-
disabled={!currentTenantInfo.isSuccess}
206+
disabled={!currentTenantInfo.isSuccess || PortalMenuItems.length === 0}
207207
/>
208208
<ExecutiveReportButton
209209
tenantName={organization.data?.displayName}

0 commit comments

Comments
 (0)