mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-23 00:37:29 +08:00
fixed a bug where presets could not be created
This commit is contained in:
parent
8352f1c74c
commit
3678706a5e
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue