Skip to content

Commit f9b3771

Browse files
author
Anurag Awasthi
committed
Add usernames to map for remove operations as well
1 parent 8190b68 commit f9b3771

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/scripts/templates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1710,7 +1710,7 @@
17101710
var projectsByIds = {};
17111711
$.each(jsonProjects.listprojectsresponse.project, function(idx, project) {
17121712
// Only add current domain's projects for add operation as update template permissions supports that
1713-
if (project.domainid === g_domainid && operation === "add") {
1713+
if ((project.domainid === g_domainid && operation === "add") || operation === "remove") {
17141714
projectsByIds[project.id] = {
17151715
projName: project.name,
17161716
hasPermission: false

0 commit comments

Comments
 (0)