Hide library perform global search button without active search

This commit is contained in:
schroda
2025-05-21 01:18:31 +02:00
parent daeab31121
commit 7ae7c3e768

View File

@@ -170,7 +170,8 @@ export function Library() {
}, [isSelectModeActive, selectedMangas]); }, [isSelectModeActive, selectedMangas]);
const triggerGlobalSearchButton = useMemo( const triggerGlobalSearchButton = useMemo(
() => ( () =>
!!query && (
<Box sx={{ p: 2 }}> <Box sx={{ p: 2 }}>
<Button <Button
size="large" size="large"