Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
intrn(component): use the chat message item to render the chat message
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Sep 13, 2022
1 parent 9004126 commit 89e7ebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/consultation/chat_window.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
v-for="message in chatMessages.data"
:key="message.id"
class="chat-entry">
<!-- TODO(others): properly place chat entries -->
{{ JSON.stringify(message.data) }}
<ChatMessageItem :chat-message="message"/>
</div>
</div>
<UserController :consultation="consultation" @start-consultation="startConsultation"/>
Expand All @@ -56,6 +55,7 @@ import type {
import ConsultationFetcher from "$@/fetchers/consultation"
import UserController from "@/consultation/chat_window/user_controller.vue"
import ChatMessageItem from "@/consultation/chat_window/chat_message_item.vue"
const {
consultation,
Expand Down

0 comments on commit 89e7ebd

Please sign in to comment.