INSR-10489: A bunch of formatting fixes
This commit is contained in:
parent
5686afa931
commit
413391893f
3 changed files with 12 additions and 12 deletions
|
|
@ -330,7 +330,7 @@ describe('payment-method.vue', () => {
|
|||
const wrapper = setupMocks({}, {}, null, mockCmsContent);
|
||||
|
||||
// Act
|
||||
const stateSpecificTextBlock = wrapper.find('[class="state-specific-text"]');
|
||||
const stateSpecificTextBlock = wrapper.find('.state-specific-text');
|
||||
|
||||
// Assert
|
||||
expect(stateSpecificTextBlock.exists()).toBe(true);
|
||||
|
|
@ -340,7 +340,7 @@ describe('payment-method.vue', () => {
|
|||
const wrapper = setupMocks({}, {}, null, '');
|
||||
|
||||
// Act
|
||||
const stateSpecificTextBlock = wrapper.find('[class="state-specific-text"]');
|
||||
const stateSpecificTextBlock = wrapper.find('.state-specific-text');
|
||||
|
||||
// Assert
|
||||
expect(stateSpecificTextBlock.exists()).toBe(false);
|
||||
|
|
|
|||
|
|
@ -582,8 +582,8 @@ export default {
|
|||
this.pushEventToGA('Submit Appointment', action, label, true, null, 1);
|
||||
},
|
||||
getStateSpecificText(value) {
|
||||
if(value.includes('not')) {
|
||||
return !value?.toLowerCase().includes(this.mainStore.order.customer.address.state?.toLowerCase())
|
||||
if (value.includes('not')) {
|
||||
return !value?.toLowerCase().includes(this.mainStore.order.customer.address.state?.toLowerCase());
|
||||
}
|
||||
return this.mainStore.order.customer.address.state?.toLowerCase() === value?.toLowerCase();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
modalBodyText() {
|
||||
return this.getCmsContent(this.cmsWidgetName, widgetFields.CONTENT_GROUP_WIDGET.BODY_TEXT)
|
||||
return this.getCmsContent(this.cmsWidgetName, widgetFields.CONTENT_GROUP_WIDGET.BODY_TEXT);
|
||||
},
|
||||
modalCloseLinkText() {
|
||||
return this.getCmsContent(this.cmsWidgetName, widgetFields.CONTENT_GROUP_WIDGET.BODY_TEXT_2);
|
||||
|
|
@ -98,12 +98,12 @@ export default {
|
|||
},
|
||||
pushEvent() {
|
||||
const gaLabel = this.schedulingElsewhere ? 'schedule_elsewhere_clicked' : 'continue_with_safelite_clicked';
|
||||
this.pushEventToGA(
|
||||
'safelite_benefit_modal',
|
||||
'modal_closed',
|
||||
gaLabel,
|
||||
true
|
||||
);
|
||||
this.pushEventToGA(
|
||||
'safelite_benefit_modal',
|
||||
'modal_closed',
|
||||
gaLabel,
|
||||
true
|
||||
);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
@ -128,7 +128,7 @@ export default {
|
|||
background-color: $green;
|
||||
color: $white;
|
||||
border-color: $blue;
|
||||
font-weight: $font-weight-bold;
|
||||
font-weight: $font-weight-bold;
|
||||
&:hover {
|
||||
background-color: $green;
|
||||
color: $white;
|
||||
|
|
|
|||
Loading…
Reference in a new issue