mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
add domain watch to preselect a domain for mail form in UserCreate
This commit is contained in:
parent
474e70fa92
commit
11205154bd
1 changed files with 5 additions and 0 deletions
|
@ -148,6 +148,11 @@ export default {
|
|||
return this.$store.state.data.domains
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
domains (domains) {
|
||||
this.form.domain = domains[0]
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onSubmit () {
|
||||
const data = this.form
|
||||
|
|
Loading…
Reference in a new issue