From aa2f50199e849b37fef3662e8c6f02b414f695be Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Wed, 1 Feb 2023 10:57:29 -0500 Subject: [PATCH] Changes to button-question component --- src/digital-components/button-question/button-question.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/digital-components/button-question/button-question.vue b/src/digital-components/button-question/button-question.vue index 7472c95f5..50e4b478c 100644 --- a/src/digital-components/button-question/button-question.vue +++ b/src/digital-components/button-question/button-question.vue @@ -53,7 +53,7 @@ https://safelite.atlassian.net/wiki/spaces/DC/pages/76644418/Button+Question+Com :lastValuePushedToGa="lastValuePushedToGa" :setLastValuePushedToGa="setLastValuePushedToGa" :suppressError="suppressError" - @nestedComponentEvent="handleNestedComponentEvent" + @buttonEvent="handleButtonEvent" v-model="selectedValues" /> @@ -215,9 +215,9 @@ export default { setLastValuePushedToGa(lastValuePushedToGa) { this.lastValuePushedToGa = lastValuePushedToGa; }, - handleNestedComponentEvent(event) { + handleButtonEvent(event) { const eventName = event.eventName; - this.$emit(`${eventName}`, event.args); + this.$emit(`buttonEvent-${eventName}`, event.args); }, }, components: {