NPE when editing
This commit is contained in:
parent
5e0e2c9ea5
commit
ed25672448
@ -224,6 +224,9 @@ You should have received a copy of the GNU General Public License along with FG
|
|||||||
this.$store.commit('SET_EDIT', true)
|
this.$store.commit('SET_EDIT', true)
|
||||||
|
|
||||||
this.featureLookup = [];
|
this.featureLookup = [];
|
||||||
|
if(!this.groundnetLayerGroup) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.groundnetLayerGroup.eachLayer(l => {
|
this.groundnetLayerGroup.eachLayer(l => {
|
||||||
l.enableEdit()
|
l.enableEdit()
|
||||||
l.featureLookup = this.featureLookup;
|
l.featureLookup = this.featureLookup;
|
||||||
|
Loading…
Reference in New Issue
Block a user