Fixing parsing bug
This commit is contained in:
parent
da44fe9e1c
commit
a91d4ad431
1 changed files with 2 additions and 2 deletions
|
|
@ -901,8 +901,8 @@ export const useMainStore = defineStore({
|
|||
this.order.policy.deductible.repair = vehicle?.repairWaived ?? false ? 0 : vehicle.deductible;
|
||||
|
||||
// TODO logic should be more complicated later on
|
||||
this.order.originalDeductible = vehicle.deductible;
|
||||
this.order.currentDeductible = vehicle.deductible;
|
||||
this.order.originalDeductible = parseFloat(vehicle.deductible);
|
||||
this.order.currentDeductible = parseFloat(vehicle.deductible);
|
||||
|
||||
this.resetSupportingItemsState();
|
||||
this.resetVapsState();
|
||||
|
|
|
|||
Loading…
Reference in a new issue