From 4201b573157c954d57a4c9311483653ac6250795 Mon Sep 17 00:00:00 2001 From: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com> Date: Thu, 10 Feb 2022 12:48:22 +0530 Subject: [PATCH] fix: Fixes console error with image component in widget (#3955) --- app/javascript/widget/components/ImageBubble.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/javascript/widget/components/ImageBubble.vue b/app/javascript/widget/components/ImageBubble.vue index 2bbd65c8f..8bf078400 100644 --- a/app/javascript/widget/components/ImageBubble.vue +++ b/app/javascript/widget/components/ImageBubble.vue @@ -28,6 +28,9 @@ export default { onImgError() { this.$emit('error'); }, + onClick() { + this.$emit('click'); + }, }, };