Show auto groups that is not hidden
This commit is contained in:
parent
809a1a1c8c
commit
fd8ea6befd
@ -129,7 +129,7 @@ class EntityCollection {
|
|||||||
List<Entity> groups = [];
|
List<Entity> groups = [];
|
||||||
List<Entity> nonGroupEntities = [];
|
List<Entity> nonGroupEntities = [];
|
||||||
_allEntities.forEach((id, entity){
|
_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);
|
groups.add(entity);
|
||||||
}
|
}
|
||||||
if (!entity.isGroup) {
|
if (!entity.isGroup) {
|
||||||
|
Reference in New Issue
Block a user