mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): Fix up arrow not working on unfiltered list
This commit is contained in:
parent
3f334d9e5e
commit
11ab5c7d56
@ -163,7 +163,7 @@ const NodeSearch = () => {
|
|||||||
nextIndex =
|
nextIndex =
|
||||||
(focusedIndex + filteredNodes.length - 1) % filteredNodes.length;
|
(focusedIndex + filteredNodes.length - 1) % filteredNodes.length;
|
||||||
} else {
|
} else {
|
||||||
nextIndex = (focusedIndex + filteredNodes.length - 1) % nodes.length;
|
nextIndex = (focusedIndex + nodes.length - 1) % nodes.length;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user