From bfea56c4702562972fe589dc7b2f3b9f99db988a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 8 Jan 2024 13:23:25 +1000 Subject: [PATCH] Clear out old FSRS progress as new operation starts https://forums.ankiweb.net/t/inconsistent-number-of-reviews-when-clicking-optimize/39275/6 --- ts/deck-options/FsrsOptions.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ts/deck-options/FsrsOptions.svelte b/ts/deck-options/FsrsOptions.svelte index 46745104f..797542a99 100644 --- a/ts/deck-options/FsrsOptions.svelte +++ b/ts/deck-options/FsrsOptions.svelte @@ -96,6 +96,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html return; } computingWeights = true; + computeWeightsProgress = undefined; try { await runWithBackendProgress( async () => { @@ -136,6 +137,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html return; } checkingWeights = true; + computeWeightsProgress = undefined; try { await runWithBackendProgress( async () => { @@ -180,6 +182,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html return; } computingRetention = true; + computeRetentionProgress = undefined; try { await runWithBackendProgress( async () => {