mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix another non reactive property warning
I waited for the PR check to pass first, but it failed to catch this, presumably as newly-added files don't trigger the existing checks to re-run.
This commit is contained in:
parent
eacd5bf908
commit
97b729c5d4
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
const config = state.currentConfig;
|
||||
const defaults = state.defaults;
|
||||
|
||||
// svelte-ignore reactive_declaration_non_reactive_property
|
||||
$: if ($config.easyDaysPercentages.length !== 7) {
|
||||
$config.easyDaysPercentages = defaults.easyDaysPercentages;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue