Mentions légales du service

Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment