INSR-8883: Fix type in for modal event handler, fix bug with event on modal close
This commit is contained in:
parent
1f36c2b5fa
commit
08a9a47360
1 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
:footerButtonText="ModalCloseButtonText"
|
:footerButtonText="ModalCloseButtonText"
|
||||||
:isButtonDisabled="isButtonDisabled"
|
:isButtonDisabled="isButtonDisabled"
|
||||||
@footerButtonEvent="footerButtonClick"
|
@footerButtonEvent="footerButtonClick"
|
||||||
@isModalOpened="handleModelOpenedEvent"
|
@isModalOpened="handleModalOpenedEvent"
|
||||||
:displayCloseButton="false"
|
:displayCloseButton="false"
|
||||||
:displayCloseLink="true">
|
:displayCloseLink="true">
|
||||||
<div class="form-test-invalid">
|
<div class="form-test-invalid">
|
||||||
|
|
@ -156,8 +156,8 @@ export default {
|
||||||
this.showNoSelectionError = false;
|
this.showNoSelectionError = false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleModelOpenedEvent(isOpened) {
|
handleModalOpenedEvent(isOpened) {
|
||||||
if (!isOpened) {
|
if (!isOpened && !(!this.showAcknowledgementCheckbox || this.acknowledged)) {
|
||||||
this.pushEventToGA('ADAS_self_service', 'acknowledge_recal', 'TPA_decline', true);
|
this.pushEventToGA('ADAS_self_service', 'acknowledge_recal', 'TPA_decline', true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue