mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-12 15:08:45 +08:00
merge fixes
This commit is contained in:
parent
ea4f3bcc5d
commit
322b2ea9f3
1 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ async function apply() {
|
|||
response = await axiosInstance.post("/presets/edit", {
|
||||
name: inputVal,
|
||||
_id: presetid,
|
||||
config: override === true ? configChanges : null,
|
||||
config: updateConfig === true ? configChanges : null,
|
||||
});
|
||||
} catch (e) {
|
||||
Loader.hide();
|
||||
|
@ -135,7 +135,7 @@ async function apply() {
|
|||
(preset) => preset._id == presetid
|
||||
)[0];
|
||||
preset.name = inputVal;
|
||||
if (override === true) preset.config = configChanges;
|
||||
if (updateConfig === true) preset.config = configChanges;
|
||||
Settings.update();
|
||||
}
|
||||
} else if (action === "remove") {
|
||||
|
|
Loading…
Reference in a new issue