keep nav buttons visible

nav buttons would be hidden when closing and reopening dialog after selecting the tracking details pane
This commit is contained in:
Josh Hawkins 2026-03-06 18:00:59 -06:00
parent c2e667c0dd
commit 1814420c68

View File

@ -495,6 +495,15 @@ export default function SearchDetailDialog({
}
}, [search]);
useEffect(() => {
if (!isDesktop || !onPrevious || !onNext) {
setShowNavigationButtons(false);
return;
}
setShowNavigationButtons(isOpen);
}, [isOpen, onNext, onPrevious]);
// show/hide annotation settings is handled inside TabsWithActions
const searchTabs = useMemo(() => {