mirror of
https://github.com/umap-project/umap.git
synced 2025-04-29 03:42:37 +02:00
fix: do not unset map dirty status if it has not yet been saved once
This commit is contained in:
parent
32acdc2070
commit
d00b4e1da9
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