Skip to content

Commit 9559639

Browse files
author
Nicolò Maria Mezzopera
authored
Merge pull request #257 from disarticulate/patch-2
Fix default null/empty value
2 parents 8253fce + 6708506 commit 9559639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/LMap.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default {
107107
for (var layer in this.layersToAdd) {
108108
this.layerControl.addLayer(layer);
109109
}
110-
this.layersToAdd = null;
110+
this.layersToAdd = [];
111111
},
112112
addLayer (layer, alreadyAdded) {
113113
if (layer.layerType !== undefined) {

0 commit comments

Comments
 (0)