Commit af6c9d46 authored by Robin Tissot's avatar Robin Tissot
Browse files

Fixes recalculation of masks and ordering when changing page before the...

Fixes recalculation of masks and ordering when changing page before the debounced functions are called.
parent 0196c60a
......@@ -474,6 +474,14 @@ const partStore = {
},
reset() {
// triggers delayed function immediately before the underlying data(pks) changes
if (this.debouncedRecalculateMasks) {
this.debouncedRecalculateMasks.flush();
}
if (this.debouncedRecalculateOrdering) {
this.debouncedRecalculateOrdering.flush();
}
// note: keep the transcriptions
this.loaded = false;
this.pk = null;
......
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