Skip to content

Commit 1af5ded

Browse files
authored
ui: don't ignore project when listing templates (#3233)
Problem: When uploading template or iso in a project, the progress is not seen Root Cause: When users upload a template/iso in project view, the template/iso is not visible in the all filter. This creates confusion that template/iso has not been uploaded. Solution: Since the api listtemplates with a projectid acts is a superset of list templates without a project id, we should not ignore the project id when listing templates in all filter.
1 parent ac6c84e commit 1af5ded

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

ui/scripts/templates.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,6 @@
10381038
}
10391039
switch (args.filterBy.kind) {
10401040
case "all":
1041-
ignoreProject = true;
10421041
$.extend(data, {
10431042
templatefilter: 'all'
10441043
});
@@ -2383,7 +2382,6 @@
23832382
}
23842383
switch (args.filterBy.kind) {
23852384
case "all":
2386-
ignoreProject = true;
23872385
$.extend(data, {
23882386
isofilter: 'all'
23892387
});

0 commit comments

Comments
 (0)