diff --git a/src/components/RightSidebar/RightSidebar.vue b/src/components/RightSidebar/RightSidebar.vue index 55c2f7ca2f9..93e876896b2 100644 --- a/src/components/RightSidebar/RightSidebar.vue +++ b/src/components/RightSidebar/RightSidebar.vue @@ -277,12 +277,7 @@ export default { this.conversationName = this.conversation.displayName } - if (newConversation.token === oldConversation.token) { - return - } - - if (this.isOneToOne) { - this.activeTab = 'shared-items' + if (newConversation.token === oldConversation.token || this.isOneToOne) { return } @@ -321,9 +316,7 @@ export default { } // In other case switch to other tabs - if (this.isOneToOne) { - this.activeTab = 'shared-items' - } else { + if (!this.isOneToOne) { this.activeTab = 'participants' } }, diff --git a/src/components/RightSidebar/SharedItems/SharedItemsTab.vue b/src/components/RightSidebar/SharedItems/SharedItemsTab.vue index cc4177c7bfb..8f36d4d07c7 100644 --- a/src/components/RightSidebar/SharedItems/SharedItemsTab.vue +++ b/src/components/RightSidebar/SharedItems/SharedItemsTab.vue @@ -20,7 +20,8 @@ -->