You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pe...@apache.org on 2024/03/13 12:32:30 UTC
(cloudstack) branch fix-add-remove-vmware-dc created (now 144d8a9acb3)
This is an automated email from the ASF dual-hosted git repository.
pearl11594 pushed a change to branch fix-add-remove-vmware-dc
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
at 144d8a9acb3 UI: Fix the Add / Remove Vmware DC button on Zone detail view
This branch includes the following new commits:
new 144d8a9acb3 UI: Fix the Add / Remove Vmware DC button on Zone detail view
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(cloudstack) 01/01: UI: Fix the Add / Remove Vmware DC button on Zone detail view
Posted by pe...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
pearl11594 pushed a commit to branch fix-add-remove-vmware-dc
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
commit 144d8a9acb34b7b6090dd8ae8e9ab07401ae48da
Author: Pearl Dsilva <pe...@gmail.com>
AuthorDate: Wed Mar 13 08:32:15 2024 -0400
UI: Fix the Add / Remove Vmware DC button on Zone detail view
---
ui/src/views/AutogenView.vue | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue
index bf1c42d4c05..2602cc67e11 100644
--- a/ui/src/views/AutogenView.vue
+++ b/ui/src/views/AutogenView.vue
@@ -986,6 +986,12 @@ export default {
}
this.itemCount = apiItemCount
+ if (this.dataView && this.$route.path.includes('/zone/')) {
+ api('listVmwareDcs', { zoneid: this.items[0].id }).then(response => {
+ this.items[0].vmwaredc = response.listvmwaredcsresponse.VMwareDC
+ })
+ }
+
if (['listTemplates', 'listIsos'].includes(this.apiName) && this.items.length > 1) {
this.items = [...new Map(this.items.map(x => [x.id, x])).values()]
}