cursor fixes - remove unneeded code
This commit is contained in:
parent
26b8c0fa20
commit
14650b7bbb
2 changed files with 0 additions and 9 deletions
|
|
@ -327,12 +327,6 @@ export default {
|
||||||
isRepair() {
|
isRepair() {
|
||||||
return this.mainStore.order.damage.isRepair;
|
return this.mainStore.order.damage.isRepair;
|
||||||
},
|
},
|
||||||
isUnverifiedADAS() {
|
|
||||||
return this.isUnverifiedVisible && this.isADAS;
|
|
||||||
},
|
|
||||||
isUnverifiedNonADAS() {
|
|
||||||
return this.isUnverifiedVisible && !this.isADAS;
|
|
||||||
},
|
|
||||||
isRepairZeroDeductible() {
|
isRepairZeroDeductible() {
|
||||||
return this.isRepair && this.isDeductibleVisible && this.deductibleValue <= 0;
|
return this.isRepair && this.isDeductibleVisible && this.deductibleValue <= 0;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -2039,9 +2039,6 @@ export const useMainStore = defineStore({
|
||||||
this.order.policy.deductible.repair = coverage?.repairWaived ?? false ? 0 : coverage.deductible;
|
this.order.policy.deductible.repair = coverage?.repairWaived ?? false ? 0 : coverage.deductible;
|
||||||
this.order.policy.endorsements = coverage?.endorsements;
|
this.order.policy.endorsements = coverage?.endorsements;
|
||||||
|
|
||||||
// TODO logic should be more complicated later on
|
|
||||||
this.order.originalReplaceDeductible = coverage.deductible;
|
|
||||||
this.order.currentReplaceDeductible = coverage.deductible;
|
|
||||||
this.order.originalReplaceDeductible = this.order.policy.deductible.replace;
|
this.order.originalReplaceDeductible = this.order.policy.deductible.replace;
|
||||||
this.order.currentReplaceDeductible = this.order.policy.deductible.replace;
|
this.order.currentReplaceDeductible = this.order.policy.deductible.replace;
|
||||||
this.order.originalRepairDeductible = this.order.policy.deductible.repair;
|
this.order.originalRepairDeductible = this.order.policy.deductible.repair;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue