diff --git a/umap/static/umap/js/modules/umap.js b/umap/static/umap/js/modules/umap.js index dc90c3c8..258b45db 100644 --- a/umap/static/umap/js/modules/umap.js +++ b/umap/static/umap/js/modules/umap.js @@ -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() {