mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
add a default domain selection in UserCreate
This commit is contained in:
parent
11205154bd
commit
d7cfa37821
1 changed files with 3 additions and 1 deletions
|
@ -171,7 +171,9 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
this.$store.dispatch('FETCH', { uri: 'domains' })
|
this.$store.dispatch('FETCH', { uri: 'domains' }).then(domains => {
|
||||||
|
this.form.domain = domains[0]
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Add table
Reference in a new issue