clean up
This commit is contained in:
parent
d043f22f0e
commit
328372176f
1 changed files with 1 additions and 16 deletions
|
|
@ -24,8 +24,6 @@
|
|||
<script>
|
||||
import modal from '@/digital-components/modal/modal.vue';
|
||||
import states from '@/constants/states';
|
||||
import { useMainStore } from '@/store';
|
||||
import { processIfStatements } from '@/helpers/cms-content-helper';
|
||||
|
||||
export default {
|
||||
name: 'content-group-modal',
|
||||
|
|
@ -48,8 +46,7 @@ export default {
|
|||
return this.getCmsContent(this.cmsWidgetName, 'SubheaderText');
|
||||
},
|
||||
ModalBodyText() {
|
||||
const bodyText = this.getCmsContent(this.cmsWidgetName, 'BodyText');
|
||||
return processIfStatements(bodyText, 'custom', this.getCustomValueFromString);
|
||||
return this.getCmsContent(this.cmsWidgetName, 'BodyText');
|
||||
},
|
||||
ModalSubBodyText() {
|
||||
const header = this.getCmsContent(this.cmsWidgetName, 'BodyText2');
|
||||
|
|
@ -60,10 +57,6 @@ export default {
|
|||
},
|
||||
ModalCloseButtonText() {
|
||||
return this.getCmsContent(this.cmsWidgetName, 'FooterText');
|
||||
},
|
||||
safeco() {
|
||||
return true;
|
||||
// return useMainStore().issConfig.clientName === 'Safeco Insurance';
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
@ -76,14 +69,6 @@ export default {
|
|||
openSteeringModal() {
|
||||
this.$refs[this.ModalName].closeModal();
|
||||
this.$emit('openSteering');
|
||||
},
|
||||
getCustomValueFromString(str) {
|
||||
switch (str) {
|
||||
case 'safeco':
|
||||
return this.safeco;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue