зеркало из https://github.com/nextcloud/spreed.git
Only switch to the participant tab when the token changes not any other detail
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
a7762280b8
Коммит
2615916239
|
@ -228,15 +228,17 @@ export default {
|
|||
},
|
||||
|
||||
watch: {
|
||||
conversation() {
|
||||
conversation(newConversation, oldConversation) {
|
||||
if (!this.isRenamingConversation) {
|
||||
this.conversationName = this.conversation.displayName
|
||||
}
|
||||
|
||||
if (this.isOneToOne) {
|
||||
this.activeTab = 'shared-items'
|
||||
} else {
|
||||
this.activeTab = 'participants'
|
||||
if (newConversation.token !== oldConversation.token) {
|
||||
if (newConversation.type === CONVERSATION.TYPE.ONE_TO_ONE) {
|
||||
this.activeTab = 'shared-items'
|
||||
} else {
|
||||
this.activeTab = 'participants'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче