зеркало из https://github.com/nextcloud/spreed.git
Correctly load initial state of default notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
3e7fff0e09
Коммит
0637075f28
|
@ -119,6 +119,7 @@ export default {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.startCalls = startCallOptions[parseInt(OCP.InitialState.loadState('talk', 'start_calls'))]
|
this.startCalls = startCallOptions[parseInt(OCP.InitialState.loadState('talk', 'start_calls'))]
|
||||||
this.conversationsFiles = parseInt(OCP.InitialState.loadState('talk', 'conversations_files')) === 1
|
this.conversationsFiles = parseInt(OCP.InitialState.loadState('talk', 'conversations_files')) === 1
|
||||||
|
this.defaultGroupNotification = defaultGroupNotificationOptions[parseInt(OCP.InitialState.loadState('talk', 'default_group_notification'))]
|
||||||
this.conversationsFilesPublicShares = parseInt(OCP.InitialState.loadState('talk', 'conversations_files_public_shares')) === 1
|
this.conversationsFilesPublicShares = parseInt(OCP.InitialState.loadState('talk', 'conversations_files_public_shares')) === 1
|
||||||
this.loading = false
|
this.loading = false
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче