fixed a bug where presets could not be created

This commit is contained in:
Miodec 2021-08-02 13:53:42 +01:00
parent 8352f1c74c
commit 3678706a5e

View file

@ -71,7 +71,7 @@ function apply() {
"checked"
);
let configChanges = null;
if (updateConfig) {
if ((updateConfig && action === "edit") || action === "add") {
configChanges = Config.getConfigChanges();
let activeTagIds = [];
DB.getSnapshot().tags.forEach((tag) => {