зеркало из https://github.com/nextcloud/spreed.git
Fix media tab in one-to-one conversations
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
8222e88d78
Коммит
e395c27745
|
@ -104,7 +104,6 @@ import SipSettings from './SipSettings'
|
|||
import LobbyStatus from './LobbyStatus'
|
||||
import Button from '@nextcloud/vue/dist/Components/Button'
|
||||
import CogIcon from 'vue-material-design-icons/Cog'
|
||||
import { EventBus } from '../../services/EventBus'
|
||||
|
||||
export default {
|
||||
name: 'RightSidebar',
|
||||
|
@ -233,6 +232,12 @@ export default {
|
|||
if (!this.isRenamingConversation) {
|
||||
this.conversationName = this.conversation.displayName
|
||||
}
|
||||
|
||||
if (this.isOneToOne) {
|
||||
this.activeTab = 'shared-items'
|
||||
} else {
|
||||
this.activeTab = 'participants'
|
||||
}
|
||||
},
|
||||
|
||||
token() {
|
||||
|
@ -242,14 +247,6 @@ export default {
|
|||
},
|
||||
},
|
||||
|
||||
mounted() {
|
||||
EventBus.$on('route-change', this.onRouteChange)
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
EventBus.$off('route-change', this.onRouteChange)
|
||||
},
|
||||
|
||||
methods: {
|
||||
handleClose() {
|
||||
this.dismissEditing()
|
||||
|
@ -299,10 +296,6 @@ export default {
|
|||
handleClosed() {
|
||||
emit('files:sidebar:closed')
|
||||
},
|
||||
|
||||
onRouteChange() {
|
||||
this.activeTab = 'participants'
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
Загрузка…
Ссылка в новой задаче