CASH-2114: Null check
This commit is contained in:
parent
72f3a686b3
commit
3ee017dd8a
2 changed files with 6 additions and 5 deletions
|
|
@ -446,9 +446,10 @@ export default {
|
|||
? vm.lineItems.glassParts
|
||||
: vm.alternateGlassPartsForOem;
|
||||
if (oemGlassPart) {
|
||||
price = oemGlassPart.find(
|
||||
(altPart) => altPart.partType === partTypeStrings.WINDSHIELD
|
||||
)?.sellingPrice;
|
||||
price =
|
||||
oemGlassPart.find(
|
||||
(altPart) => altPart.partType === partTypeStrings.WINDSHIELD
|
||||
)?.sellingPrice || 0;
|
||||
}
|
||||
}
|
||||
return price;
|
||||
|
|
|
|||
|
|
@ -123,8 +123,8 @@ $body-color: $gray-600;
|
|||
|
||||
//Fonts
|
||||
$font-family-sans-serif: UrbanistRegular, Arial, Helvetica, sans-serif;
|
||||
$font-family-monospace: UrbanistRegular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
|
||||
monospace;
|
||||
$font-family-monospace:
|
||||
UrbanistRegular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
// stylelint-enable value-keyword-case
|
||||
$font-family-base: $font-family-sans-serif;
|
||||
$font-family-code: $font-family-monospace;
|
||||
|
|
|
|||
Loading…
Reference in a new issue