Skip to content

Commit

Permalink
Merge pull request #34072 from Pujan92/fix/34063
Browse files Browse the repository at this point in the history
[CP Staging] Fix: Expense - App crashes when attempting to request money from a deleted workspace

(cherry picked from commit 65a4717)
  • Loading branch information
marcaaron authored and OSBotify committed Jan 6, 2024
1 parent 6f28e1e commit 5687a92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ function MoneyTemporaryForRefactorRequestConfirmationList({
const shouldShowTags = isPolicyExpenseChat && OptionsListUtils.hasEnabledOptions(_.values(policyTagList));

// A flag for showing tax rate
const shouldShowTax = isPolicyExpenseChat && policy.isTaxTrackingEnabled;
const shouldShowTax = isPolicyExpenseChat && policy && policy.isTaxTrackingEnabled;

// A flag for showing the billable field
const shouldShowBillable = !lodashGet(policy, 'disabledFields.defaultBillable', true);
Expand Down

0 comments on commit 5687a92

Please sign in to comment.