CSR-779 repair button text
This commit is contained in:
parent
1306643379
commit
8e39c6d2f1
1 changed files with 12 additions and 0 deletions
|
|
@ -151,6 +151,18 @@ export default {
|
||||||
];
|
];
|
||||||
const resultMap = await settleAllPromises(promiseResultMap);
|
const resultMap = await settleAllPromises(promiseResultMap);
|
||||||
next((vm) => {
|
next((vm) => {
|
||||||
|
if (resultMap.cmsContent.FunnelFooterWidget.ForwardButtonText.includes("|"))
|
||||||
|
{
|
||||||
|
const forwardTextOption = resultMap.cmsContent.FunnelFooterWidget.ForwardButtonText.split("|");
|
||||||
|
if (store.getters.damage.isRepair){
|
||||||
|
resultMap.cmsContent.FunnelFooterWidget.ForwardButtonText = forwardTextOption[1]
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
resultMap.cmsContent.FunnelFooterWidget.ForwardButtonText = forwardTextOption[0]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
vm.setCmsContent(resultMap.cmsContent);
|
vm.setCmsContent(resultMap.cmsContent);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue