set review limit to 9999 on open

This commit is contained in:
Luc Mcgrady 2025-07-22 23:46:16 +01:00
parent 307ab52c1c
commit 628bfe24a7
No known key found for this signature in database
GPG key ID: 4F3D7A0B17CC3D9C
2 changed files with 8 additions and 2 deletions

View file

@ -315,7 +315,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</SettingTitle> </SettingTitle>
</SpinBoxFloatRow> </SpinBoxFloatRow>
<button class="btn btn-primary" on:click={() => workloadModal?.show()}> <button
class="btn btn-primary"
on:click={() => {
simulateFsrsRequest.reviewLimit = 9999;
workloadModal?.show();
}}
>
{tr.deckConfigFsrsDesiredRetentionHelpMeDecideExperimental()} {tr.deckConfigFsrsDesiredRetentionHelpMeDecideExperimental()}
</button> </button>

View file

@ -405,7 +405,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<SpinBoxRow <SpinBoxRow
bind:value={simulateFsrsRequest.reviewLimit} bind:value={simulateFsrsRequest.reviewLimit}
defaultValue={$config.reviewsPerDay} defaultValue={workload ? 9999 : $config.reviewsPerDay}
min={0} min={0}
max={9999} max={9999}
> >