fix: do not unset map dirty status if it has not yet been saved once

This commit is contained in:
Yohan Boniface 2024-12-18 11:34:17 +01:00
parent 32acdc2070
commit d00b4e1da9

View file

@ -1117,8 +1117,8 @@ export default class Umap extends ServerStored {
}
this.ensurePanesOrder()
this._leafletMap.initTileLayers()
this.isDirty = false
this.onDataLayersChanged()
this.isDirty = !this.id
}
async save() {