Fix restauring full umap with remoteData

The check about umap_id was before isLoaded and hasDataLoaded split,
so I guess (hope) it's useless here.

A bit of history:

217f2fcb15
2ea27c87f6
This commit is contained in:
Yohan Boniface 2023-03-01 18:21:24 +01:00
parent 58cee72915
commit ae6f9fda57

View file

@ -365,7 +365,7 @@ L.U.DataLayer = L.Evented.extend({
}, },
hasDataLoaded: function () { hasDataLoaded: function () {
return !this.umap_id || this._geojson !== null; return this._geojson !== null;
}, },
setUmapId: function (id) { setUmapId: function (id) {