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:
parent
2503dca813
commit
17493f4ae0
@ -50,9 +50,9 @@ const ImageGalleryContent = () => {
|
||||
if (boardSearchText.length) {
|
||||
dispatch(boardSearchTextChanged(''));
|
||||
}
|
||||
|
||||
boardSearchDisclosure.onClose();
|
||||
boardsListPanel.toggle();
|
||||
}, [boardSearchText, dispatch, boardsListPanel]);
|
||||
}, [boardSearchText.length, boardSearchDisclosure, boardsListPanel, dispatch]);
|
||||
|
||||
return (
|
||||
<Flex position="relative" flexDirection="column" h="full" w="full" pt={2}>
|
||||
|
Loading…
Reference in New Issue
Block a user