diff --git a/app/javascript/dashboard/components-next/message/Message.vue b/app/javascript/dashboard/components-next/message/Message.vue index c74848292..1821f7836 100644 --- a/app/javascript/dashboard/components-next/message/Message.vue +++ b/app/javascript/dashboard/components-next/message/Message.vue @@ -9,6 +9,7 @@ import { } from './constants'; import TextBubble from './bubbles/Text.vue'; +import MessageError from './MessageError.vue'; import Avatar from 'next/avatar/Avatar.vue'; import Icon from 'next/icon/Icon.vue'; @@ -193,28 +194,12 @@ const shouldGroupWithNext = computed(() => { :orientation class="[grid-area:bubble]" /> -
- {{ 'Failed to send' }} -
-
- -
- -
-
+ :error="error" + />
+import Icon from 'next/icon/Icon.vue'; + +defineProps({ + error: { + type: String, + required: true, + }, +}); + + +