copilot fixes
This commit is contained in:
parent
216815c853
commit
2c810282fd
3 changed files with 14 additions and 7 deletions
|
|
@ -45,6 +45,7 @@
|
||||||
class="w-100"
|
class="w-100"
|
||||||
:buttonText="footerButtonText"
|
:buttonText="footerButtonText"
|
||||||
pushToGA
|
pushToGA
|
||||||
|
:variant="buttonVariant"
|
||||||
:class="[
|
:class="[
|
||||||
(isButtonDisabled || isFooterButtonDisabled) &&
|
(isButtonDisabled || isFooterButtonDisabled) &&
|
||||||
'form-test-invalid'
|
'form-test-invalid'
|
||||||
|
|
@ -55,7 +56,7 @@
|
||||||
class="mt-4 mb-0"
|
class="mt-4 mb-0"
|
||||||
linkType="text"
|
linkType="text"
|
||||||
text="Close window"
|
text="Close window"
|
||||||
href="#"
|
href="#!"
|
||||||
@click="closeModal" />
|
@click="closeModal" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -24,21 +24,27 @@ export default {
|
||||||
components: {
|
components: {
|
||||||
modal
|
modal
|
||||||
},
|
},
|
||||||
|
props: {
|
||||||
|
cmsWidgetName: {
|
||||||
|
type: String,
|
||||||
|
default: 'RecalModal'
|
||||||
|
}
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
modalBodyText() {
|
modalBodyText() {
|
||||||
return this.getCmsContent('RecalModal', 'BodyText').replaceAll('{custom:vehicleMake}', this.vehicleMake);
|
return this.getCmsContent(this.cmsWidgetName, 'BodyText').replaceAll('{custom:vehicleMake}', this.vehicleMake);
|
||||||
},
|
},
|
||||||
modalHeaderText() {
|
modalHeaderText() {
|
||||||
return this.getCmsContent('RecalModal', 'HeaderText');
|
return this.getCmsContent(this.cmsWidgetName, 'HeaderText');
|
||||||
},
|
},
|
||||||
modalFooterText() {
|
modalFooterText() {
|
||||||
return this.getCmsContent('RecalModal', 'FooterText');
|
return this.getCmsContent(this.cmsWidgetName, 'FooterText');
|
||||||
},
|
},
|
||||||
modalImage() {
|
modalImage() {
|
||||||
return this.getCmsContent('RecalModal', 'Image');
|
return this.getCmsContent(this.cmsWidgetName, 'Image');
|
||||||
},
|
},
|
||||||
modalCloseButtonText() {
|
modalCloseButtonText() {
|
||||||
return this.getCmsContent('RecalModal', 'FooterText');
|
return this.getCmsContent(this.cmsWidgetName, 'FooterText');
|
||||||
},
|
},
|
||||||
vehicleMake() {
|
vehicleMake() {
|
||||||
return this.mainStore.order.vehicle.make.toUpperCase();
|
return this.mainStore.order.vehicle.make.toUpperCase();
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
class="cancel-link"
|
class="cancel-link"
|
||||||
linkType="text"
|
linkType="text"
|
||||||
text="No, I want to cancel"
|
text="No, I want to cancel"
|
||||||
href="#"
|
href="#!"
|
||||||
@clickEvent="cancelClaimConfirmation">
|
@clickEvent="cancelClaimConfirmation">
|
||||||
</textLink>
|
</textLink>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue