Skip to content

Commit 4985e57

Browse files
authored
ui: use executable template filter for users (#3214)
Problem: When reinstalling a VM, the UI only shows featured templates and not all possible list of allowed templates. Root Cause: The list of templates for reinstall used featured as filter in ‘listTemplates’ API which did not include all available options. Solution: The issue is fixed by using the executable template filter of the ‘listTemplates’ API to list all possible templates that a user is allowed to use to deploy a VM.
1 parent 6c841bf commit 4985e57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/scripts/instances.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@
11371137
label: 'label.select.a.template',
11381138
select: function(args) {
11391139
var data = {
1140-
templatefilter: 'featured'
1140+
templatefilter: 'executable'
11411141
};
11421142
$.ajax({
11431143
url: createURL('listTemplates'),

0 commit comments

Comments
 (0)