mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): show boards panel when opening board search
This commit is contained in:
parent
cb61ef9bb1
commit
2503dca813
@ -43,7 +43,8 @@ const ImageGalleryContent = () => {
|
|||||||
dispatch(boardSearchTextChanged(''));
|
dispatch(boardSearchTextChanged(''));
|
||||||
}
|
}
|
||||||
boardSearchDisclosure.onToggle();
|
boardSearchDisclosure.onToggle();
|
||||||
}, [boardSearchText, dispatch, boardSearchDisclosure]);
|
boardsListPanel.expand();
|
||||||
|
}, [boardSearchText.length, boardSearchDisclosure, boardsListPanel, dispatch]);
|
||||||
|
|
||||||
const handleToggleBoardPanel = useCallback(() => {
|
const handleToggleBoardPanel = useCallback(() => {
|
||||||
if (boardSearchText.length) {
|
if (boardSearchText.length) {
|
||||||
|
Loading…
Reference in New Issue
Block a user