linstor-ui: Fix add primary storage if Linstor protocol selected (#9327)

url param wasn't set if protocol Linstor is selected
This commit is contained in:
Rene Peinthor 2024-07-04 11:33:38 +02:00 committed by GitHub
parent 79b1427d3e
commit 94e5ceff7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -879,7 +879,7 @@ export default {
url = values.flashArrayURL
}
if (values.provider === 'Linstor') {
if (values.provider === 'Linstor' || values.protocol === 'Linstor') {
url = this.linstorURL(server)
values.managed = false
params['details[0].resourceGroup'] = values.resourcegroup