diff --git a/src/router/index.js b/src/router/index.js
index ca765efc..661fb7f2 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -35,21 +35,6 @@ const statuses = {
]
}
-const chatsDisabled = disabledFeatures.includes('chats')
-const chats = {
- path: '/chats',
- component: Layout,
- children: [
- {
- path: 'index',
- component: () => import('@/views/chats/index'),
- name: 'Chats',
- meta: { title: 'chats', icon: 'form', noCache: true }
- }
- ],
- hidden: true
-}
-
const reportsDisabled = disabledFeatures.includes('reports')
const reports = {
path: '/reports',
@@ -184,7 +169,6 @@ export const asyncRouterMap = [
]
},
...(statusesDisabled ? [] : [statuses]),
- ...(chatsDisabled ? [] : [chats]),
...(reportsDisabled ? [] : [reports]),
...(invitesDisabled ? [] : [invites]),
...(emojiPacksDisabled ? [] : [emojiPacks]),
diff --git a/src/views/chats/index.vue b/src/views/chats/index.vue
deleted file mode 100644
index ec64212d..00000000
--- a/src/views/chats/index.vue
+++ /dev/null
@@ -1,167 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/chats/show.vue b/src/views/chats/show.vue
index d926ed08..d48e15b2 100644
--- a/src/views/chats/show.vue
+++ b/src/views/chats/show.vue
@@ -113,6 +113,7 @@ export default {
.chat-page-header {
display: flex;
margin: 22px 15px 22px 20px;
+ justify-content: center;
padding: 0;
h1 {
display: inline
@@ -141,10 +142,10 @@ export default {
.chat-messages-container {
display: flex;
flex-direction: column;
- max-width: 1000px;
- .el-timeline-item {
- margin-left: 20px;
- }
+ align-items: center;
+}
+.messages.el-timeline {
+ padding: 0;
}
.no-chats {
margin-left: 28px;
@@ -189,7 +190,6 @@ export default {
}
.messages.el-timeline {
padding-left: 10px;
- max-width: 97%;
}
.el-timeline-item__wrapper {
padding-left: 18px;