Clear out old FSRS progress as new operation starts
https://forums.ankiweb.net/t/inconsistent-number-of-reviews-when-clicking-optimize/39275/6
This commit is contained in:
parent
3982e0c8fe
commit
bfea56c470
@ -96,6 +96,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
computingWeights = true;
|
computingWeights = true;
|
||||||
|
computeWeightsProgress = undefined;
|
||||||
try {
|
try {
|
||||||
await runWithBackendProgress(
|
await runWithBackendProgress(
|
||||||
async () => {
|
async () => {
|
||||||
@ -136,6 +137,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
checkingWeights = true;
|
checkingWeights = true;
|
||||||
|
computeWeightsProgress = undefined;
|
||||||
try {
|
try {
|
||||||
await runWithBackendProgress(
|
await runWithBackendProgress(
|
||||||
async () => {
|
async () => {
|
||||||
@ -180,6 +182,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
computingRetention = true;
|
computingRetention = true;
|
||||||
|
computeRetentionProgress = undefined;
|
||||||
try {
|
try {
|
||||||
await runWithBackendProgress(
|
await runWithBackendProgress(
|
||||||
async () => {
|
async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user