From dabde6fad6b78b692bd07e5a8a74828de6c905d1 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 12 Dec 2024 17:57:34 +0530 Subject: [PATCH] fix: types --- .../dashboard/components-next/message/bubbles/Email/Index.vue | 2 +- .../dashboard/components-next/message/bubbles/Text/Index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/dashboard/components-next/message/bubbles/Email/Index.vue b/app/javascript/dashboard/components-next/message/bubbles/Email/Index.vue index 7cd53c1b5..ec32c1c37 100644 --- a/app/javascript/dashboard/components-next/message/bubbles/Email/Index.vue +++ b/app/javascript/dashboard/components-next/message/bubbles/Email/Index.vue @@ -34,7 +34,7 @@ const props = defineProps({ default: () => ({}), }, messageType: { - type: String, + type: Number, required: true, }, }); diff --git a/app/javascript/dashboard/components-next/message/bubbles/Text/Index.vue b/app/javascript/dashboard/components-next/message/bubbles/Text/Index.vue index c22797e99..1f61c081f 100644 --- a/app/javascript/dashboard/components-next/message/bubbles/Text/Index.vue +++ b/app/javascript/dashboard/components-next/message/bubbles/Text/Index.vue @@ -32,7 +32,7 @@ const props = defineProps({ default: () => ({}), }, messageType: { - type: String, + type: Number, default: '', validator: value => Object.values(MESSAGE_TYPES).includes(value), },