diff --git a/src/components/LeftSidebar/LeftSidebar.vue b/src/components/LeftSidebar/LeftSidebar.vue index 3cd5219387c..3a8d21fc520 100644 --- a/src/components/LeftSidebar/LeftSidebar.vue +++ b/src/components/LeftSidebar/LeftSidebar.vue @@ -578,11 +578,6 @@ export default { if (to.name === 'conversation') { this.$store.dispatch('joinConversation', { token: to.params.token }) } - }, - - handleJoinedConversation({ token }) { - this.abortSearch() - this.scrollToConversation(token) if (this.isMobile) { emit('toggle-navigation', { open: false, @@ -590,6 +585,11 @@ export default { } }, + handleJoinedConversation({ token }) { + this.abortSearch() + this.scrollToConversation(token) + }, + iconData(item) { if (item.source === 'users') { return {