Remove bug fully fixed

This commit is contained in:
Estebene 2021-05-09 12:23:54 +12:00
parent 29fd5d7386
commit 740844cc8f

View file

@ -134,7 +134,7 @@ function apply() {
Notifications.add("Preset removed", 1);
DB.getSnapshot().presets.forEach((preset, index) => {
if (preset.id === presetid) {
DB.getSnapshot().preset.splice(index, 1);
DB.getSnapshot().presets.splice(index, 1);
}
});
Settings.update();