From 8bc0424fb7b6c8eaab026ee7b878a55f4bc9a262 Mon Sep 17 00:00:00 2001 From: Abdo Date: Sat, 7 Sep 2024 17:32:10 +0300 Subject: [PATCH] Fix minimum interval warning shown when FSRS is enabled --- ts/routes/deck-options/LapseOptions.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/routes/deck-options/LapseOptions.svelte b/ts/routes/deck-options/LapseOptions.svelte index cc15b7e5337..510999cb40e 100644 --- a/ts/routes/deck-options/LapseOptions.svelte +++ b/ts/routes/deck-options/LapseOptions.svelte @@ -36,7 +36,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html ? $config.relearnSteps[$config.relearnSteps.length - 1] / 60 / 24 : 0; stepsExceedMinimumInterval = - lastRelearnStepInDays > $config.minimumLapseInterval + !$fsrs && lastRelearnStepInDays > $config.minimumLapseInterval ? tr.deckConfigRelearningStepsAboveMinimumInterval() : ""; stepsTooLargeForFsrs =