Skip to content

Commit b92e901

Browse files
iwizniaOSBotify
authored andcommitted
Merge pull request #37320 from ruben-rebelo/fix/workspace-default-currency
fix: Condition for disabling currency for workspace was wrong (cherry picked from commit 69110ce)
1 parent ff47ad4 commit b92e901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/workspace/WorkspaceProfilePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function WorkspaceProfilePage({policy, currencyList = {}, route}: WorkSpaceProfi
148148
title={formattedCurrency}
149149
description={translate('workspace.editor.currencyInputLabel')}
150150
shouldShowRightIcon={!readOnly}
151-
disabled={hasVBA ?? readOnly}
151+
disabled={hasVBA ? true : readOnly}
152152
wrapperStyle={styles.sectionMenuItemTopDescription}
153153
onPress={onPressCurrency}
154154
shouldGreyOutWhenDisabled={false}

0 commit comments

Comments
 (0)