NPE when editing

dependabot/npm_and_yarn/mathjs-7.5.1
Keith Paterson 3 years ago
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…
Cancel
Save