SSR-1183 Comments around confusing logic
This commit is contained in:
parent
63a6d9026c
commit
5aeccca959
1 changed files with 2 additions and 0 deletions
|
|
@ -1138,8 +1138,10 @@ export const useMainStore = defineStore({
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isItac) {
|
if (isItac) {
|
||||||
|
// if the ITAC Pricing API call returns isItac = true then we should switch to ITAC coverage type
|
||||||
this.updateCoverageType(coverageType.ITAC);
|
this.updateCoverageType(coverageType.ITAC);
|
||||||
} else if (this.isITAC) {
|
} else if (this.isITAC) {
|
||||||
|
// If the ITAC pricing API call returns isItac = false, and we are currently ITAC in the store then we should switch to deductible coverage type
|
||||||
this.updateCoverageType(coverageType.Deductible);
|
this.updateCoverageType(coverageType.Deductible);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue