mirror of
https://github.com/umap-project/umap.git
synced 2025-04-29 03:42:37 +02:00
chore: honour "sync" parameter in layer.setReferenceVersion
This commit is contained in:
parent
4ea5a28f04
commit
471abe1f1b
1 changed files with 1 additions and 1 deletions
|
@ -1065,7 +1065,7 @@ export class DataLayer extends ServerStored {
|
||||||
|
|
||||||
setReferenceVersion({ response, sync }) {
|
setReferenceVersion({ response, sync }) {
|
||||||
this._referenceVersion = response.headers.get('X-Datalayer-Version')
|
this._referenceVersion = response.headers.get('X-Datalayer-Version')
|
||||||
this.sync.update('_referenceVersion', this._referenceVersion)
|
if (sync) this.sync.update('_referenceVersion', this._referenceVersion)
|
||||||
}
|
}
|
||||||
|
|
||||||
async save() {
|
async save() {
|
||||||
|
|
Loading…
Reference in a new issue