Fix styling of store migrations

This commit is contained in:
TC
2021-10-24 14:01:29 +02:00
parent 02f4aabead
commit f9a4bffa55

View File

@ -8,8 +8,8 @@ const migrations = {
store.set("plugins.discord.listenAlong", true); store.set("plugins.discord.listenAlong", true);
} }
}, },
">=1.12.0": (store) => { ">=1.12.0": (store) => {
const options = store.get("plugins.shortcuts") const options = store.get("plugins.shortcuts");
let updated = false; let updated = false;
for (const optionType of ["global", "local"]) { for (const optionType of ["global", "local"]) {
if (Array.isArray(options[optionType])) { if (Array.isArray(options[optionType])) {