This is an automated email from the ASF dual-hosted git repository.
shwstppr pushed a commit to branch 4.22
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.22 by this push:
new d0d49bc864a ui: fix build
d0d49bc864a is described below
commit d0d49bc864ad2558671552d6f526a1137cba5aea
Author: Abhishek Kumar <[email protected]>
AuthorDate: Thu Sep 10 18:12:27 2026 +0530
ui: fix build
Signed-off-by: Abhishek Kumar <[email protected]>
---
ui/src/views/compute/AutoScaleVmProfile.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/views/compute/AutoScaleVmProfile.vue
b/ui/src/views/compute/AutoScaleVmProfile.vue
index af014c517d5..775b5885848 100644
--- a/ui/src/views/compute/AutoScaleVmProfile.vue
+++ b/ui/src/views/compute/AutoScaleVmProfile.vue
@@ -486,7 +486,7 @@ export default {
templatefilter: isAdmin() ? 'all' : 'executable'
}
addProjectFilter(params, this.resource)
- api('listTemplates', params).then(json => {
+ getAPI('listTemplates', params).then(json => {
// Ignore stale responses if templateid changed while this request was
in flight.
if (templateid !== this.templateid) return
this.templateName = json.listtemplatesresponse?.template?.[0]?.name ||
templateid