Skip to content

Commit

Permalink
[ModConfig] Fix configuration save action
Browse files Browse the repository at this point in the history
Since the `save()` function was changed to take in an argument, the save button action was sending the click event to the function which made it fail. Calling the function explicitly without an argument will fix it.
  • Loading branch information
m4heshd committed Jun 7, 2024
1 parent 302bbae commit 3a293f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/ModConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@
>
Cancel
</button>
<button @click="save">
<button @click="save()">
<i>save</i>
<span>Save</span>
</button>
Expand Down

0 comments on commit 3a293f2

Please sign in to comment.