Correctly toggle changed state
This commit is contained in:
parent
c5a011012f
commit
ca3ce86dc5
|
@ -76,6 +76,8 @@
|
||||||
if (cat.settings.find(s => s.id === setting.id).value !== setting.value) {
|
if (cat.settings.find(s => s.id === setting.id).value !== setting.value) {
|
||||||
changed = true;
|
changed = true;
|
||||||
setting.changed = true;
|
setting.changed = true;
|
||||||
|
} else {
|
||||||
|
setting.changed = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue