mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-21 13:14:04 +02:00
feat: add redirect after saving keybind in settings.vue
This commit is contained in:
parent
0c28a5b0db
commit
c872490a95
1 changed files with 1 additions and 0 deletions
|
@ -131,6 +131,7 @@ const onKeyDown = (event: KeyboardEvent) => {
|
||||||
const saveKeybind = async () => {
|
const saveKeybind = async () => {
|
||||||
if (keybind.value.length > 0) {
|
if (keybind.value.length > 0) {
|
||||||
await invoke("save_keybind", { keybind: keybind.value });
|
await invoke("save_keybind", { keybind: keybind.value });
|
||||||
|
router.push("/");
|
||||||
} else {
|
} else {
|
||||||
showEmptyKeybindError.value = true;
|
showEmptyKeybindError.value = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue