Merge pull request #530 from Safelite/feature/richardson/SSR-727.2

pass in 0 if deductible is null
This commit is contained in:
brich1212safe 2024-01-10 18:05:51 -05:00 committed by GitHub
commit 067edabc7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -941,7 +941,7 @@ export const useMainStore = defineStore({
}
const ctuToUse = this.order.serviceLocation.zipCodeCtu;
const availableLineItemsFormattedForRequest = getLineItemQueryStringForPricing(availableLineItems);
const deductibleToUse = this.order.currentDeductible;
const deductibleToUse = this.order.currentDeductible ?? 0;
let queryString =
`ParentAccountNumber=${this.order.accountNumber}`