diff --git a/app/javascript/dashboard/components/widgets/conversation/Message.vue b/app/javascript/dashboard/components/widgets/conversation/Message.vue index 2fa22471e..00dc6a500 100644 --- a/app/javascript/dashboard/components/widgets/conversation/Message.vue +++ b/app/javascript/dashboard/components/widgets/conversation/Message.vue @@ -147,7 +147,7 @@ export default { if (messageType === MESSAGE_TYPE.ACTIVITY) { return 'center'; } - return !this.data.message_type ? 'left' : 'right'; + return !messageType ? 'left' : 'right'; }, readableTime() { return this.messageStamp(this.data.created_at, 'LLL d, h:mm a'); diff --git a/app/javascript/dashboard/components/widgets/conversation/bubble/Text.vue b/app/javascript/dashboard/components/widgets/conversation/bubble/Text.vue index 746cc903d..54fd250a1 100644 --- a/app/javascript/dashboard/components/widgets/conversation/bubble/Text.vue +++ b/app/javascript/dashboard/components/widgets/conversation/bubble/Text.vue @@ -25,5 +25,12 @@ export default {