mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix/set default easyDaysPercentages when switch preset (#3526)
This commit is contained in:
parent
9a44881121
commit
1aa734ad28
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