Skip to content

Commit f4f6931

Browse files
committed
fixed type error
1 parent 31bddf5 commit f4f6931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ function WorkspaceWorkflowsPage({policy, betas, route}: WorkspaceWorkflowsPagePr
210210
{shouldShowBankAccount && (
211211
<OfflineWithFeedback
212212
pendingAction={policy?.pendingFields?.reimburser}
213-
shouldDisableOpacity={isOffline && policy?.pendingFields?.reimbursementChoice && policy?.pendingFields?.reimburser}
213+
shouldDisableOpacity={isOffline && !!policy?.pendingFields?.reimbursementChoice && !!policy?.pendingFields?.reimburser}
214214
errors={ErrorUtils.getLatestErrorField(policy ?? {}, CONST.POLICY.COLLECTION_KEYS.REIMBURSER)}
215215
onClose={() => Policy.clearPolicyErrorField(policy?.id ?? '', CONST.POLICY.COLLECTION_KEYS.REIMBURSER)}
216216
errorRowStyles={[styles.ml7]}

0 commit comments

Comments
 (0)