From a8e18c167ca1cc18c8ec09f7c9e25b339236a11c Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 10 Feb 2025 16:30:00 +0100 Subject: [PATCH] chore: no need to reset datalayer._needsFetch after a save It is reset only after loading the layer data. Co-authored-by: David Larlet --- umap/static/umap/js/modules/data/layer.js | 1 - 1 file changed, 1 deletion(-) diff --git a/umap/static/umap/js/modules/data/layer.js b/umap/static/umap/js/modules/data/layer.js index 04ef3757..b8f06bb5 100644 --- a/umap/static/umap/js/modules/data/layer.js +++ b/umap/static/umap/js/modules/data/layer.js @@ -1161,7 +1161,6 @@ export class DataLayer extends ServerStored { this.backupOptions() this.backupData() this.connectToMap() - this._needsFetch = false this.redraw() // Needed for reordering features return true }