Sign in
简柏林
/
thingskit
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
908a89bfc5dd5581fa17e3258faae6a67746cf79
Authored by
deaflynx
2020-12-23 12:58:11 +0200
1 parent
59018f12
Remove edge type from relations in case edge is disabled
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
ui/src/app/api/entity.service.js
ui/src/app/api/entity.service.js
View file @
908a89b
...
...
@@ -910,6 +910,9 @@ function EntityService($http, $q, $filter, $translate, $log, userService, device
910
910
}
911
911
}
912
912
}
913
+
if
(
userService
.
isEdgesSupportEnabled
())
{
914
+
delete
entityTypes
.
edge
;
915
+
}
913
916
return
entityTypes
;
914
917
}
915
918
...
...