diff --git a/app/javascript/widget/views/Chat.vue b/app/javascript/widget/views/Chat.vue index e936e3281..cc35be1b7 100644 --- a/app/javascript/widget/views/Chat.vue +++ b/app/javascript/widget/views/Chat.vue @@ -65,10 +65,10 @@ export default { computed: { ...mapGetters({ availableAgents: 'agent/availableAgents', - metaIn: 'conversationV2/metaIn', - currentUser: 'contactV2/getCurrentUser', - getTotalMessageCount: 'conversationV2/allMessagesCountIn', - getGroupedMessages: 'conversationV2/groupByMessagesIn', + metaIn: 'conversation/metaIn', + currentUser: 'contact/getCurrentUser', + getTotalMessageCount: 'conversation/allMessagesCountIn', + getGroupedMessages: 'conversation/groupByMessagesIn', }), conversationId() { const { conversationId } = this.$route.params; @@ -104,7 +104,7 @@ export default { this.setUserLastSeen(); }, methods: { - ...mapActions('conversationV2', ['setUserLastSeenIn']), + ...mapActions('conversation', ['setUserLastSeenIn']), closeChat() { IFrameHelper.sendMessage({ event: 'closeChat' }); }, diff --git a/app/javascript/widget/views/Home.vue b/app/javascript/widget/views/Home.vue index 70b5dc226..ee675f3b3 100755 --- a/app/javascript/widget/views/Home.vue +++ b/app/javascript/widget/views/Home.vue @@ -12,10 +12,7 @@ v-if="lastActiveConversationId" :conversations="allActiveConversations" /> - +