Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
29
research/chatwoot/app/javascript/widget/views/Messages.vue
Normal file
29
research/chatwoot/app/javascript/widget/views/Messages.vue
Normal file
@@ -0,0 +1,29 @@
|
||||
<script>
|
||||
import { mapGetters } from 'vuex';
|
||||
|
||||
import ChatFooter from '../components/ChatFooter.vue';
|
||||
import ConversationWrap from '../components/ConversationWrap.vue';
|
||||
|
||||
export default {
|
||||
components: { ChatFooter, ConversationWrap },
|
||||
computed: {
|
||||
...mapGetters({
|
||||
groupedMessages: 'conversation/getGroupedConversation',
|
||||
}),
|
||||
},
|
||||
mounted() {
|
||||
this.$store.dispatch('conversation/setUserLastSeen');
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div
|
||||
class="flex flex-col flex-1 overflow-hidden rounded-b-lg bg-n-slate-2 dark:bg-n-solid-1"
|
||||
>
|
||||
<div class="flex flex-1 overflow-auto">
|
||||
<ConversationWrap :grouped-messages="groupedMessages" />
|
||||
</div>
|
||||
<ChatFooter class="px-5" />
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user