fix explore view

This commit is contained in:
Josh Hawkins 2024-11-11 19:15:44 -06:00
parent 0c07fdf04a
commit 54343da025

View File

@ -228,12 +228,17 @@ function ExploreThumbnailImage({
onSelectSearch(event, 0, "object lifecycle"); onSelectSearch(event, 0, "object lifecycle");
}; };
const handleShowSnapshot = () => {
onSelectSearch(event, 0, "snapshot");
};
return ( return (
<SearchResultActions <SearchResultActions
searchResult={event} searchResult={event}
findSimilar={handleFindSimilar} findSimilar={handleFindSimilar}
refreshResults={mutate} refreshResults={mutate}
showObjectLifecycle={handleShowObjectLifecycle} showObjectLifecycle={handleShowObjectLifecycle}
showSnapshot={handleShowSnapshot}
isContextMenu={true} isContextMenu={true}
> >
<div className="relative size-full"> <div className="relative size-full">