1 parent 02da97d commit d0d49bcCopy full SHA for d0d49bc
1 file changed
ui/src/views/compute/AutoScaleVmProfile.vue
@@ -486,7 +486,7 @@ export default {
486
templatefilter: isAdmin() ? 'all' : 'executable'
487
}
488
addProjectFilter(params, this.resource)
489
- api('listTemplates', params).then(json => {
+ getAPI('listTemplates', params).then(json => {
490
// Ignore stale responses if templateid changed while this request was in flight.
491
if (templateid !== this.templateid) return
492
this.templateName = json.listtemplatesresponse?.template?.[0]?.name || templateid
0 commit comments