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
  • Loading branch information
marcaaron authored Jan 6, 2024
2 parents cb00747 + 548830a commit 65a4717
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 65a4717

Please sign in to comment.