Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function WorkspaceCompanyCardPageEmptyState({policy}: WithPolicyAndFullscreenLoa
illustrationStyle={styles.emptyStateCardIllustration}
illustrationContainerStyle={[styles.emptyStateCardIllustrationContainer, styles.justifyContentStart]}
titleStyles={styles.textHeadlineH1}
isButtonDisabled={workspaceAccountID > CONST.DEFAULT_NUMBER_ID}
isButtonDisabled={workspaceAccountID === CONST.DEFAULT_NUMBER_ID}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the hassle, I missed this when updating the approach last minute. Tested and works well 🎉 The button is disabled when the feature was enabled offline, that means the workspaceAccountID is not present yet (for older policies - new collect policy would have the accountID after creation)

Screen.Recording.2025-03-19.at.01.13.11.mp4

/>
<DelegateNoAccessModal
isNoDelegateAccessMenuVisible={isNoDelegateAccessMenuVisible}
Expand Down