chore: no need to reset datalayer._needsFetch after a save

It is reset only after loading the layer data.

Co-authored-by: David Larlet <david@larlet.fr>
This commit is contained in:
Yohan Boniface 2025-02-10 16:30:00 +01:00
parent 175e27a535
commit a8e18c167c

View file

@ -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
}