fix(ui): show boards panel when opening board search

This commit is contained in:
psychedelicious 2024-07-24 13:27:06 +10:00
parent cb61ef9bb1
commit 2503dca813

View File

@ -43,7 +43,8 @@ const ImageGalleryContent = () => {
dispatch(boardSearchTextChanged(''));
}
boardSearchDisclosure.onToggle();
}, [boardSearchText, dispatch, boardSearchDisclosure]);
boardsListPanel.expand();
}, [boardSearchText.length, boardSearchDisclosure, boardsListPanel, dispatch]);
const handleToggleBoardPanel = useCallback(() => {
if (boardSearchText.length) {