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 {
|
||||
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');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue