CSR-2115: get modal to work from CMS link
This commit is contained in:
parent
b97833d3bd
commit
0ee1cda67e
1 changed files with 9 additions and 12 deletions
|
|
@ -45,24 +45,18 @@
|
|||
v-bind:isDismissible="false" />
|
||||
</div>
|
||||
|
||||
<div v-if="hasRecal && !isInsurance" class="questions-about-service my-5">
|
||||
<!-- <div v-if="hasRecal && !isInsurance" class="questions-about-service my-5"> -->
|
||||
<textBlock
|
||||
cmsWidgetName="QuestionsAboutYourServiceWidget"
|
||||
justifyText="left"
|
||||
class="service-questions" />
|
||||
<textBlock
|
||||
cmsWidgetName="CallOrTextWidget"
|
||||
justifyText="left" />
|
||||
<textBlock cmsWidgetName="CallOrTextWidget" justifyText="left" />
|
||||
<hr class="my-5" />
|
||||
<div class="d-flex flex-row checkbox-group">
|
||||
<checkboxQuestion
|
||||
class="mb-5"
|
||||
v-model="isRecalAckOptIn" />
|
||||
<textBlock
|
||||
cmsWidgetName="RecalConfirmationWidget"
|
||||
justifyText="left" />
|
||||
<checkboxQuestion class="mb-5" v-model="isRecalAckOptIn" />
|
||||
<textBlock cmsWidgetName="RecalConfirmationWidget" justifyText="left" @text-link-clicked="openModal" />
|
||||
</div>
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
|
||||
<paymentMethodQuestion
|
||||
v-if="!isPiaDisabled"
|
||||
|
|
@ -551,10 +545,13 @@ export default {
|
|||
hasSubmittedOrder() {
|
||||
return this.$store.getters.hasSubmittedOrder;
|
||||
},
|
||||
openModal(modalName) {
|
||||
this.$refs[modalName].openModal();
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
hasRecal() {
|
||||
const recalLineItem = this.$store.getters.order.lineItems.supportingItems.find (
|
||||
const recalLineItem = this.$store.getters.order.lineItems.supportingItems.find(
|
||||
(lineItem) => lineItem.partType == partTypeStrings.RECALIBRATION
|
||||
);
|
||||
if (recalLineItem) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue