mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-22 20:18:30 +03:00
show event icon on mobile
This commit is contained in:
parent
458c73e8b8
commit
d3387e95ef
@ -377,32 +377,36 @@ export function GroupedClassificationCard({
|
|||||||
)}
|
)}
|
||||||
</ContentDescription>
|
</ContentDescription>
|
||||||
</div>
|
</div>
|
||||||
{isDesktop && (
|
<div
|
||||||
<div className="flex flex-row justify-between">
|
className={cn(
|
||||||
{classifiedEvent && (
|
"flex",
|
||||||
<Tooltip>
|
isDesktop && "flex-row justify-between",
|
||||||
<TooltipTrigger asChild>
|
isMobile && "absolute right-4 top-8",
|
||||||
<div
|
)}
|
||||||
className="cursor-pointer"
|
>
|
||||||
tabIndex={-1}
|
{classifiedEvent && (
|
||||||
onClick={() => {
|
<Tooltip>
|
||||||
navigate(`/explore?event_id=${classifiedEvent.id}`);
|
<TooltipTrigger asChild>
|
||||||
}}
|
<div
|
||||||
>
|
className="cursor-pointer"
|
||||||
<LuSearch className="size-4 text-secondary-foreground" />
|
tabIndex={-1}
|
||||||
</div>
|
onClick={() => {
|
||||||
</TooltipTrigger>
|
navigate(`/explore?event_id=${classifiedEvent.id}`);
|
||||||
<TooltipPortal>
|
}}
|
||||||
<TooltipContent>
|
>
|
||||||
{t("details.item.button.viewInExplore", {
|
<LuSearch className="size-4 text-secondary-foreground" />
|
||||||
ns: "views/explore",
|
</div>
|
||||||
})}
|
</TooltipTrigger>
|
||||||
</TooltipContent>
|
<TooltipPortal>
|
||||||
</TooltipPortal>
|
<TooltipContent>
|
||||||
</Tooltip>
|
{t("details.item.button.viewInExplore", {
|
||||||
)}
|
ns: "views/explore",
|
||||||
</div>
|
})}
|
||||||
)}
|
</TooltipContent>
|
||||||
|
</TooltipPortal>
|
||||||
|
</Tooltip>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
</Header>
|
</Header>
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user