using null coalescing operator
This commit is contained in:
parent
7aebf244b7
commit
a68d56f334
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ export default {
|
|||
result += sumTax(this.baseServiceLineItems);
|
||||
} else {
|
||||
// deductible-case need to show tax for Recycle Fee
|
||||
result += this.recycleFeeLineItem != null ? this.recycleFeeLineItem.salesTax : 0;
|
||||
result += this.recycleFeeLineItem?.salesTax ?? 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue