Skip to content

Commit

Permalink
Map / Add layer / Style may be null.
Browse files Browse the repository at this point in the history
  • Loading branch information
fxprunayre committed Dec 5, 2017
1 parent 4a8e9b7 commit 609e34d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@
};

scope.addLayer = function(c) {
controller.addLayer(scope.member, c.Name);
controller.addLayer(scope.member, c ? c.Name : null);
};

scope.isParentNode = angular.isDefined(scope.member.Layer);
Expand Down

0 comments on commit 609e34d

Please sign in to comment.