@alfresco/aca-shared 4.4.0-7841531026 → 4.4.0-7873758674
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/services/app.extension.service.mjs +5 -2
- package/fesm2015/alfresco-aca-shared.mjs +3 -0
- package/fesm2015/alfresco-aca-shared.mjs.map +1 -1
- package/fesm2020/alfresco-aca-shared.mjs +3 -0
- package/fesm2020/alfresco-aca-shared.mjs.map +1 -1
- package/lib/services/app.extension.service.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1611,6 +1611,9 @@ class AppExtensionService {
|
|
|
1611
1611
|
}
|
|
1612
1612
|
filterVisible(action) {
|
|
1613
1613
|
if (action?.rules?.visible) {
|
|
1614
|
+
if (Array.isArray(action.rules.visible)) {
|
|
1615
|
+
return action.rules.visible.every((rule) => this.extensions.evaluateRule(rule, this));
|
|
1616
|
+
}
|
|
1614
1617
|
return this.extensions.evaluateRule(action.rules.visible, this);
|
|
1615
1618
|
}
|
|
1616
1619
|
return true;
|