Skip to content

Commit

Permalink
Merge pull request #37320 from ruben-rebelo/fix/workspace-default-cur…
Browse files Browse the repository at this point in the history
…rency

fix: Condition for disabling currency for workspace was wrong
  • Loading branch information
iwiznia authored Feb 27, 2024
2 parents 85bf635 + 64b880c commit 69110ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/WorkspaceProfilePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function WorkspaceProfilePage({policy, currencyList = {}, route}: WorkSpaceProfi
title={formattedCurrency}
description={translate('workspace.editor.currencyInputLabel')}
shouldShowRightIcon={!readOnly}
disabled={hasVBA ?? readOnly}
disabled={hasVBA ? true : readOnly}
wrapperStyle={styles.sectionMenuItemTopDescription}
onPress={onPressCurrency}
shouldGreyOutWhenDisabled={false}
Expand Down

0 comments on commit 69110ce

Please sign in to comment.