mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Fix/set default easyDaysPercentages when switch preset (#3526)
This commit is contained in:
parent
688c6d4d1b
commit
85c1c3bc35
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
const config = state.currentConfig;
|
||||
const defaults = state.defaults;
|
||||
|
||||
if ($config.easyDaysPercentages.length !== 7) {
|
||||
$: if ($config.easyDaysPercentages.length !== 7) {
|
||||
$config.easyDaysPercentages = defaults.easyDaysPercentages;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue