mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(settings): restore initForm language assignment comment
-e Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
This commit is contained in:
parent
7337a3a3cf
commit
24c29f4606
1 changed files with 5 additions and 0 deletions
|
|
@ -340,6 +340,11 @@ export default {
|
|||
},
|
||||
|
||||
initForm() {
|
||||
/**
|
||||
* Init default language from server data. The use of this.settings
|
||||
* requires a computed variable, which break the v-model binding of the form,
|
||||
* this is a much easier solution than getter and setter on a computed var
|
||||
*/
|
||||
if (this.settings.defaultLanguage) {
|
||||
this.newUser.language.code = this.settings.defaultLanguage
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue