mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
fix: do not unset map dirty status if it has not yet been saved once (#2382)
This commit is contained in:
commit
631e3a7fd3
1 changed files with 1 additions and 1 deletions
|
@ -1117,8 +1117,8 @@ export default class Umap extends ServerStored {
|
||||||
}
|
}
|
||||||
this.ensurePanesOrder()
|
this.ensurePanesOrder()
|
||||||
this._leafletMap.initTileLayers()
|
this._leafletMap.initTileLayers()
|
||||||
this.isDirty = false
|
|
||||||
this.onDataLayersChanged()
|
this.onDataLayersChanged()
|
||||||
|
this.isDirty = !this.id
|
||||||
}
|
}
|
||||||
|
|
||||||
async save() {
|
async save() {
|
||||||
|
|
Loading…
Reference in a new issue