Correctly toggle changed state

This commit is contained in:
Jiiks 2018-02-05 15:58:30 +02:00
parent c5a011012f
commit ca3ce86dc5
1 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,8 @@
if (cat.settings.find(s => s.id === setting.id).value !== setting.value) {
changed = true;
setting.changed = true;
} else {
setting.changed = false;
}
}
}