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"
|
||||
:buttonText="footerButtonText"
|
||||
pushToGA
|
||||
:variant="buttonVariant"
|
||||
:class="[
|
||||
(isButtonDisabled || isFooterButtonDisabled) &&
|
||||
'form-test-invalid'
|
||||
|
|
@ -55,7 +56,7 @@
|
|||
class="mt-4 mb-0"
|
||||
linkType="text"
|
||||
text="Close window"
|
||||
href="#"
|
||||
href="#!"
|
||||
@click="closeModal" />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -24,21 +24,27 @@ export default {
|
|||
components: {
|
||||
modal
|
||||
},
|
||||
props: {
|
||||
cmsWidgetName: {
|
||||
type: String,
|
||||
default: 'RecalModal'
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
modalBodyText() {
|
||||
return this.getCmsContent('RecalModal', 'BodyText').replaceAll('{custom:vehicleMake}', this.vehicleMake);
|
||||
return this.getCmsContent(this.cmsWidgetName, 'BodyText').replaceAll('{custom:vehicleMake}', this.vehicleMake);
|
||||
},
|
||||
modalHeaderText() {
|
||||
return this.getCmsContent('RecalModal', 'HeaderText');
|
||||
return this.getCmsContent(this.cmsWidgetName, 'HeaderText');
|
||||
},
|
||||
modalFooterText() {
|
||||
return this.getCmsContent('RecalModal', 'FooterText');
|
||||
return this.getCmsContent(this.cmsWidgetName, 'FooterText');
|
||||
},
|
||||
modalImage() {
|
||||
return this.getCmsContent('RecalModal', 'Image');
|
||||
return this.getCmsContent(this.cmsWidgetName, 'Image');
|
||||
},
|
||||
modalCloseButtonText() {
|
||||
return this.getCmsContent('RecalModal', 'FooterText');
|
||||
return this.getCmsContent(this.cmsWidgetName, 'FooterText');
|
||||
},
|
||||
vehicleMake() {
|
||||
return this.mainStore.order.vehicle.make.toUpperCase();
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
class="cancel-link"
|
||||
linkType="text"
|
||||
text="No, I want to cancel"
|
||||
href="#"
|
||||
href="#!"
|
||||
@clickEvent="cancelClaimConfirmation">
|
||||
</textLink>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue