Skip to content

Commit 7832509

Browse files
committed
Fix action filters on domain details
1 parent 7a8a260 commit 7832509

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

ui/scripts/domains.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,8 @@
285285
});
286286

287287
args.response.success({
288-
data: domainObj
288+
data: domainObj,
289+
actionFilter: domainActionfilter
289290
});
290291
}
291292
}
@@ -330,7 +331,7 @@
330331
var jsonObj = args.context.item;
331332
var allowedActions = [];
332333
if(isAdmin()) {
333-
allowedActions.push("add");
334+
allowedActions.push("create");
334335
if(jsonObj.id != 1) { //"ROOT" domain is not allowed to edit or delete
335336
allowedActions.push("edit"); //merge updateResourceCount into edit
336337
allowedActions.push("delete");

0 commit comments

Comments
 (0)