Show auto groups that is not hidden

This commit is contained in:
Yegor Vialov 2018-11-23 19:30:16 +02:00
parent 809a1a1c8c
commit fd8ea6befd

View File

@ -129,7 +129,7 @@ class EntityCollection {
List<Entity> groups = [];
List<Entity> nonGroupEntities = [];
_allEntities.forEach((id, entity){
if (entity.isGroup && (entity.attributes['auto'] == null || !entity.attributes['auto']) && (!entity.isView)) {
if (entity.isGroup && (entity.attributes['auto'] == null || (entity.attributes['auto'] && !entity.isHidden)) && (!entity.isView)) {
groups.add(entity);
}
if (!entity.isGroup) {