mirror of https://github.com/apache/cloudstack.git
CS-15120
Don't render action column if only header-level actions are present.
This commit is contained in:
parent
e0723cd9cc
commit
94f7023457
|
|
@ -545,9 +545,9 @@
|
|||
var renderActionCol = function(actions) {
|
||||
return $.grep(
|
||||
$.map(actions, function(value, key) {
|
||||
return key;
|
||||
return { key: key, value: value };
|
||||
}),
|
||||
function(elem) { return elem != 'add'; }
|
||||
function(elem) { return elem.key != 'add' && !elem.value.isHeader; }
|
||||
).length;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue