mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
UI: Fix protocol reset after changing provider on Add Primary Storage (#6243)
This commit is contained in:
parent
63a9da9548
commit
177f04839c
@ -514,7 +514,9 @@ export default {
|
||||
} else {
|
||||
this.protocols = ['nfs']
|
||||
}
|
||||
this.form.protocol = this.protocols[0]
|
||||
if (!value) {
|
||||
this.form.protocol = this.protocols[0]
|
||||
}
|
||||
},
|
||||
nfsURL (server, path) {
|
||||
var url
|
||||
@ -642,7 +644,7 @@ export default {
|
||||
this.protocols = ['custom']
|
||||
this.form.protocol = 'custom'
|
||||
} else {
|
||||
this.fetchHypervisor(null)
|
||||
this.fetchHypervisor(value)
|
||||
}
|
||||
},
|
||||
closeModal () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user