mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-1924] Context menu - filter out disabled children (#838)
This commit is contained in:
committed by
Denys Vuika
parent
4c77ace5eb
commit
6c821d0fba
@@ -411,6 +411,7 @@ export class AppExtensionService implements RuleContext {
|
||||
const copy = this.copyAction(action);
|
||||
if (copy.children && copy.children.length > 0) {
|
||||
copy.children = copy.children
|
||||
.filter(entry => !entry.disabled)
|
||||
.filter(childAction => this.filterByRules(childAction))
|
||||
.reduce(reduceSeparators, []);
|
||||
}
|
||||
|
Reference in New Issue
Block a user