Showing
1 changed file
with
1 additions
and
1 deletions
@@ -31,7 +31,7 @@ export default function EntityFilterDirective($compile, $templateCache, $q, $doc | @@ -31,7 +31,7 @@ export default function EntityFilterDirective($compile, $templateCache, $q, $doc | ||
31 | 31 | ||
32 | scope.ngModelCtrl = ngModelCtrl; | 32 | scope.ngModelCtrl = ngModelCtrl; |
33 | scope.types = types; | 33 | scope.types = types; |
34 | - if (userService.isEdgesSupportEnabled()) { | 34 | + if (!userService.isEdgesSupportEnabled()) { |
35 | scope.allowedEntityTypes = Object.values(types.entityType).filter(entityType => entityType !== types.entityType.edge); | 35 | scope.allowedEntityTypes = Object.values(types.entityType).filter(entityType => entityType !== types.entityType.edge); |
36 | } | 36 | } |
37 | scope.aliasFilterTypes = entityService.getAliasFilterTypesByEntityTypes(scope.allowedEntityTypes); | 37 | scope.aliasFilterTypes = entityService.getAliasFilterTypesByEntityTypes(scope.allowedEntityTypes); |