Change setupModalLinks to setupModalLink for specific ones
When variable gets blown away so does the listener. Add back in inside watch similar to other modalLinks
This commit is contained in:
parent
3a8efac0ea
commit
f501601c02
1 changed files with 8 additions and 2 deletions
|
|
@ -109,6 +109,7 @@ import textBlock from '@/digital-components/text-block/text-block.vue';
|
||||||
// Import Supporting Files
|
// Import Supporting Files
|
||||||
import {
|
import {
|
||||||
fetchCmsContentForPage,
|
fetchCmsContentForPage,
|
||||||
|
setupModalLink,
|
||||||
setupModalLinks,
|
setupModalLinks,
|
||||||
processIfStatements
|
processIfStatements
|
||||||
} from '@/helpers/cms-content-helper.js';
|
} from '@/helpers/cms-content-helper.js';
|
||||||
|
|
@ -335,8 +336,13 @@ export default {
|
||||||
},
|
},
|
||||||
nextStepsBody(newValue, oldValue) {
|
nextStepsBody(newValue, oldValue) {
|
||||||
if (newValue !== oldValue) {
|
if (newValue !== oldValue) {
|
||||||
setupModalLinks(this, 'RecalModal');
|
setupModalLink(this, 'RecalModal');
|
||||||
setupModalLinks(this, 'DeductibleModal');
|
setupModalLink(this, 'DeductibleModal');
|
||||||
|
}
|
||||||
|
},
|
||||||
|
verifiedItacAlertBody(newValue, oldValue) {
|
||||||
|
if (newValue !== oldValue) {
|
||||||
|
setupModalLink(this, 'DeductibleModal');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue