mirror of https://github.com/apache/cloudstack.git
Fix primary storage update form not showing existing values (#9809)
This commit is contained in:
parent
7fbd0a9fb4
commit
175eed294c
|
|
@ -121,7 +121,6 @@ export default {
|
|||
},
|
||||
created () {
|
||||
this.initForm()
|
||||
this.form.name = this.resource.name
|
||||
},
|
||||
computed: {
|
||||
canUpdateNFSMountOpts () {
|
||||
|
|
@ -136,7 +135,14 @@ export default {
|
|||
methods: {
|
||||
initForm () {
|
||||
this.formRef = ref()
|
||||
this.form = reactive({ })
|
||||
this.form = reactive({
|
||||
name: this.resource.name,
|
||||
tags: this.resource.tags,
|
||||
isTagARule: this.resource.istagarule,
|
||||
capacityBytes: this.resource.disksizetotal,
|
||||
capacityIOPS: this.resource.capacityiops,
|
||||
nfsMountOpts: this.resource.nfsmountopts
|
||||
})
|
||||
this.rules = reactive({ })
|
||||
},
|
||||
isAdmin () {
|
||||
|
|
|
|||
Loading…
Reference in New Issue