Merge pull request #1887 from Safelite/feature/CSR-2123
Corrected logic for whether to display PIA message
This commit is contained in:
commit
2af25727d3
1 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@
|
|||
validationRules="option-required" />
|
||||
|
||||
<alert
|
||||
v-if="isPiaDisabled"
|
||||
v-if="!isPiaDisabled"
|
||||
:isDismissible="false"
|
||||
alertClass="alert-info"
|
||||
cmsWidgetName="NoPiaDisclaimerWidget"
|
||||
|
|
@ -577,7 +577,7 @@ export default {
|
|||
|
||||
var isEnabled = false;
|
||||
if (this.isInsurance) {
|
||||
isEnabled = piaInsurance === "true" && this.currentDeductible !== 0;
|
||||
isEnabled = piaInsurance === "true" && this.currentDeductible > 0;
|
||||
} else {
|
||||
isEnabled = piaExperience === "PIA Optional" || piaExperience === "PIA Required";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue