Skip to content

Commit

Permalink
fix: do not unset map dirty status if it has not yet been saved once (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
yohanboniface authored Dec 18, 2024
2 parents 7b59cf4 + d00b4e1 commit 631e3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion umap/static/umap/js/modules/umap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 631e3a7

Please sign in to comment.