mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): close boards search when toggling panel
This commit is contained in:
@ -50,9 +50,9 @@ const ImageGalleryContent = () => {
|
|||||||
if (boardSearchText.length) {
|
if (boardSearchText.length) {
|
||||||
dispatch(boardSearchTextChanged(''));
|
dispatch(boardSearchTextChanged(''));
|
||||||
}
|
}
|
||||||
|
boardSearchDisclosure.onClose();
|
||||||
boardsListPanel.toggle();
|
boardsListPanel.toggle();
|
||||||
}, [boardSearchText, dispatch, boardsListPanel]);
|
}, [boardSearchText.length, boardSearchDisclosure, boardsListPanel, dispatch]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Flex position="relative" flexDirection="column" h="full" w="full" pt={2}>
|
<Flex position="relative" flexDirection="column" h="full" w="full" pt={2}>
|
||||||
|
Reference in New Issue
Block a user