Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: add redirect after saving keybind in settings.vue
  • Loading branch information
0PandaDEV committed Jan 2, 2025
commit c872490a9576e5a79d015bc2891634f9bfa68f3f
1 change: 1 addition & 0 deletions pages/settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ const onKeyDown = (event: KeyboardEvent) => {
const saveKeybind = async () => {
if (keybind.value.length > 0) {
await invoke("save_keybind", { keybind: keybind.value });
router.push("/");
} else {
showEmptyKeybindError.value = true;
}
Expand Down