ESLint from merges
This commit is contained in:
parent
65c5e0ec3c
commit
51b7dc961e
7 changed files with 4 additions and 9 deletions
|
|
@ -139,7 +139,7 @@ function defineGlobalTpaSearchRules() {
|
||||||
return errorMessages.TPA_SEARCH_SHOP_FORMAT;
|
return errorMessages.TPA_SEARCH_SHOP_FORMAT;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (value.length != 5) {
|
if (value.length !== 5) {
|
||||||
return errorMessages.TPA_SEARCH_ZIP_FORMAT;
|
return errorMessages.TPA_SEARCH_ZIP_FORMAT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -373,7 +373,7 @@ export default {
|
||||||
const label = this.cartOrder.damage.glassToReplace?.length > 0
|
const label = this.cartOrder.damage.glassToReplace?.length > 0
|
||||||
? this.getCmsContent(this.widget.warrantyText, widgetFields.TEXT_BLOCK_WIDGET.TEXT)
|
? this.getCmsContent(this.widget.warrantyText, widgetFields.TEXT_BLOCK_WIDGET.TEXT)
|
||||||
: this.getCmsContent(this.widget.guaranteeText, widgetFields.TEXT_BLOCK_WIDGET.TEXT);
|
: this.getCmsContent(this.widget.guaranteeText, widgetFields.TEXT_BLOCK_WIDGET.TEXT);
|
||||||
return {
|
return {
|
||||||
name: label,
|
name: label,
|
||||||
cartItemType: cartItemType.WARRANTY,
|
cartItemType: cartItemType.WARRANTY,
|
||||||
partType: partTypeStrings.WARRANTY,
|
partType: partTypeStrings.WARRANTY,
|
||||||
|
|
|
||||||
|
|
@ -42,13 +42,11 @@
|
||||||
<script>
|
<script>
|
||||||
import baseInputButton from '@/digital-components/base-input-button/base-input-button.vue';
|
import baseInputButton from '@/digital-components/base-input-button/base-input-button.vue';
|
||||||
import inputButtonWrapperMixin from '@/mixins/input-button-wrapper-mixin';
|
import inputButtonWrapperMixin from '@/mixins/input-button-wrapper-mixin';
|
||||||
import loader from '@/ux-components/loader/loader.vue';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'tpa-shop-list-button',
|
name: 'tpa-shop-list-button',
|
||||||
components: {
|
components: {
|
||||||
baseInputButton,
|
baseInputButton
|
||||||
loader
|
|
||||||
},
|
},
|
||||||
mixins: [inputButtonWrapperMixin],
|
mixins: [inputButtonWrapperMixin],
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
v-if="open"
|
v-if="open"
|
||||||
|
|
|
||||||
|
|
@ -238,7 +238,7 @@ export default {
|
||||||
},
|
},
|
||||||
orderConfirmationUpdateAppointmentText() {
|
orderConfirmationUpdateAppointmentText() {
|
||||||
let content = '';
|
let content = '';
|
||||||
if(this.isNoComp) {
|
if (this.isNoComp) {
|
||||||
content = this.getCmsContentWithCustomValues(
|
content = this.getCmsContentWithCustomValues(
|
||||||
this.widgets.emailConfirmationNoComp,
|
this.widgets.emailConfirmationNoComp,
|
||||||
widgetFields.CONTENT_GROUP_WIDGET.BODY_TEXT
|
widgetFields.CONTENT_GROUP_WIDGET.BODY_TEXT
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable max-len */
|
|
||||||
// Components
|
// Components
|
||||||
import tpaSearch from '@/layouts/tpa-search/tpa-search.vue';
|
import tpaSearch from '@/layouts/tpa-search/tpa-search.vue';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -149,7 +149,6 @@ import bailoutMessage from '@/constants/bailoutMessage';
|
||||||
import settleAllPromises from '@/helpers/layout-helper';
|
import settleAllPromises from '@/helpers/layout-helper';
|
||||||
import issPageValues from '@/router/router-constants/issPage-values';
|
import issPageValues from '@/router/router-constants/issPage-values';
|
||||||
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'tpa-search',
|
name: 'tpa-search',
|
||||||
components: {
|
components: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue