Mise à jour de GitLab prévue ce samedi 23 octobre 2021 à partir de 9h00 CET

Commit df868d27 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] sync: was still a bit slower in duniter-ui than `sync` command

parent 28afdcce
......@@ -38,6 +38,7 @@ export class LokiProxyCollection<T> implements LokiCollection<T> {
setChangesApi(enabled: boolean) {
this.collection.setChangesApi(enabled)
;(this.collection as any).disableDeltaChangesApi = true
// This is a Loki bug: `disableDeltaChangesApi` should be impacted just like `disableChangesApi`:
;(this.collection as any).disableDeltaChangesApi = !enabled
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment