Merge pull request #5494 from Matt-Yorkley/group-maps-fix

Fix group maps
This commit is contained in:
Matt-Yorkley
2020-05-29 12:05:55 +02:00
committed by GitHub
5 changed files with 20 additions and 21 deletions

View File

@@ -1,6 +1,3 @@
Darkswarm.controller "GroupPageCtrl", ($scope, enterprises, Enterprises, MapConfiguration, OfnMap) ->
Darkswarm.controller "GroupPageCtrl", ($scope, enterprises, Enterprises) ->
$scope.Enterprises = Enterprises
$scope.map = angular.copy MapConfiguration.options
$scope.mapMarkers = OfnMap.enterprise_markers enterprises
$scope.embedded_layout = window.location.search.indexOf("embedded_shopfront=true") != -1