mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
UI: allow new keys for VM details (#7793)
This commit is contained in:
parent
da7fc72c66
commit
c86684fbdd
@ -170,7 +170,11 @@ export default {
|
|||||||
return []
|
return []
|
||||||
}
|
}
|
||||||
if (!Array.isArray(this.detailOptions[this.newKey])) {
|
if (!Array.isArray(this.detailOptions[this.newKey])) {
|
||||||
return { value: this.detailOptions[this.newKey] }
|
if (this.detailOptions[this.newKey]) {
|
||||||
|
return { value: this.detailOptions[this.newKey] }
|
||||||
|
} else {
|
||||||
|
return ''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return this.detailOptions[this.newKey].map(value => {
|
return this.detailOptions[this.newKey].map(value => {
|
||||||
return { value: value }
|
return { value: value }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user