mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Fix spurious warning when comparing optimal and desired retention
This commit is contained in:
parent
599eecd8ca
commit
bfd90d53e5
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
|
||||
{#if optimalRetention}
|
||||
{estimatedRetention(optimalRetention)}
|
||||
{#if optimalRetention > $config.desiredRetention}
|
||||
{#if parseFloat(optimalRetention.toFixed(2)) > $config.desiredRetention}
|
||||
<Warning
|
||||
warning="Your desired retention is below optimal. Increasing it is recommended."
|
||||
className="alert-warning"
|
||||
|
|
|
|||
Loading…
Reference in a new issue