Skip to content

Commit d0d49bc

Browse files
committed
ui: fix build
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent 02da97d commit d0d49bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/views/compute/AutoScaleVmProfile.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ export default {
486486
templatefilter: isAdmin() ? 'all' : 'executable'
487487
}
488488
addProjectFilter(params, this.resource)
489-
api('listTemplates', params).then(json => {
489+
getAPI('listTemplates', params).then(json => {
490490
// Ignore stale responses if templateid changed while this request was in flight.
491491
if (templateid !== this.templateid) return
492492
this.templateName = json.listtemplatesresponse?.template?.[0]?.name || templateid

0 commit comments

Comments
 (0)