This commit is contained in:
Yegor Vialov
2018-10-07 10:41:41 +03:00
parent ec71200ab0
commit 253316fb1f
3 changed files with 1 additions and 5 deletions

View File

@ -30,7 +30,6 @@ class ViewBuilder{
View _composeDefaultView() {
Map<String, List<String>> userGroupsList = entityCollection.getDefaultViewTopLevelEntities();
List<Entity> entitiesForView = [];
//TODO WTF? Why two arrays?
userGroupsList["userGroups"].forEach((groupId){
entitiesForView.add(entityCollection.get(groupId));
});