INSR-8883: Fix conditional for an event label
This commit is contained in:
parent
08a9a47360
commit
20a8a9b8fd
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ export default {
|
|||
|
||||
footerButtonClick() {
|
||||
if (this.tpaRecalAnswer && (!this.showAcknowledgementCheckbox || this.acknowledged)) {
|
||||
const eventLabel = this.tpaRecalAnswer === PROVIDER_PREFERENCE_OPTIONS.SAFELITE === 'yes' ? 'TPA_schedule_with_safelite' : 'TPA_accept';
|
||||
const eventLabel = this.tpaRecalAnswer === PROVIDER_PREFERENCE_OPTIONS.SAFELITE ? 'TPA_schedule_with_safelite' : 'TPA_accept';
|
||||
this.pushEventToGA('ADAS_self_service', 'acknowledge_recal', eventLabel, true);
|
||||
this.$refs[this.ModalName]?.closeModal();
|
||||
this.$emit('buttonClick', this.tpaRecalAnswer);
|
||||
|
|
|
|||
Loading…
Reference in a new issue