Merge pull request #787 from Safelite/feature/richardson/SSR-1401

Change setupModalLinks to setupModalLink for specific ones
This commit is contained in:
brich1212safe 2024-07-11 13:45:24 -04:00 committed by GitHub
commit 365aca227e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -109,6 +109,7 @@ import textBlock from '@/digital-components/text-block/text-block.vue';
// Import Supporting Files
import {
fetchCmsContentForPage,
setupModalLink,
setupModalLinks,
processIfStatements
} from '@/helpers/cms-content-helper.js';
@ -335,8 +336,13 @@ export default {
},
nextStepsBody(newValue, oldValue) {
if (newValue !== oldValue) {
setupModalLinks(this, 'RecalModal');
setupModalLinks(this, 'DeductibleModal');
setupModalLink(this, 'RecalModal');
setupModalLink(this, 'DeductibleModal');
}
},
verifiedItacAlertBody(newValue, oldValue) {
if (newValue !== oldValue) {
setupModalLink(this, 'DeductibleModal');
}
}
},