mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix spurious warning when comparing optimal and desired retention
This commit is contained in:
parent
f79a6c9480
commit
0c02c669c1
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