chore: conversation view

This commit is contained in:
iamsivin
2024-12-06 23:09:31 +05:30
parent 49b0ba28aa
commit 1f4c4d759b
3 changed files with 6 additions and 16 deletions
@@ -3,7 +3,6 @@ import { mapGetters } from 'vuex';
import { useUISettings } from 'dashboard/composables/useUISettings';
import ChatList from '../../../components/ChatList.vue';
import ConversationBox from '../../../components/widgets/conversation/ConversationBox.vue';
import PopOverSearch from './search/PopOverSearch.vue';
import wootConstants from 'dashboard/constants/globals';
import { BUS_EVENTS } from 'shared/constants/busEvents';
import CmdBarConversationSnooze from 'dashboard/routes/dashboard/commands/CmdBarConversationSnooze.vue';
@@ -13,7 +12,6 @@ export default {
components: {
ChatList,
ConversationBox,
PopOverSearch,
CmdBarConversationSnooze,
},
beforeRouteLeave(to, from, next) {
@@ -193,7 +191,7 @@ export default {
</script>
<template>
<section class="bg-white conversation-page dark:bg-slate-900">
<section class="conversation-page bg-n-solid-1">
<ChatList
:show-conversation-list="showConversationList"
:conversation-inbox="inboxId"
@@ -203,12 +201,7 @@ export default {
:folders-id="foldersId"
:is-on-expanded-layout="isOnExpandedLayout"
@conversation-load="onConversationLoad"
>
<PopOverSearch
:is-on-expanded-layout="isOnExpandedLayout"
@toggle-conversation-layout="toggleConversationLayout"
/>
</ChatList>
/>
<ConversationBox
v-if="showMessageView"
:inbox-id="inboxId"