mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix error when searching for something that doesn't exist
This commit is contained in:
@@ -5292,6 +5292,7 @@ process_cookies();
|
|||||||
return;
|
return;
|
||||||
} else if (finder_mode === "ui") {
|
} else if (finder_mode === "ui") {
|
||||||
let index = finder_selection_index >= 0 ? finder_selection_index : 0;
|
let index = finder_selection_index >= 0 ? finder_selection_index : 0;
|
||||||
|
if (!actions[index]) return;
|
||||||
actions[index].click();
|
actions[index].click();
|
||||||
}
|
}
|
||||||
} else if (event.key === "ArrowUp") {
|
} else if (event.key === "ArrowUp") {
|
||||||
|
Reference in New Issue
Block a user