Skip to content

Commit

Permalink
bf
Browse files Browse the repository at this point in the history
  • Loading branch information
uprel committed Jan 15, 2020
1 parent 08fdf3e commit c489da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client_mobile/src/layers.js
Expand Up @@ -93,7 +93,7 @@ Layers.loadLayers = function(url, callback) {
};
if(subtree.parent) {
//find index of parent
var indx = layertree.findIndex(function(el) {return el.name==group.parent;});
var indx = layertree.findIndex(function(el) {return el[name]==group[parent];});
if(indx > -1) {
layertree[indx].layers.push(subtree);
}
Expand Down

0 comments on commit c489da8

Please sign in to comment.