mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-12 18:17:36 +03:00
add detail stream selector to mobile drawer
This commit is contained in:
parent
e2da8aa04c
commit
6e765738ce
@ -51,6 +51,15 @@ export default function MobileTimelineDrawer({
|
|||||||
>
|
>
|
||||||
{t("events.label")}
|
{t("events.label")}
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
className={`mx-4 w-full py-2 text-center smart-capitalize ${selected == "detail" ? "rounded-lg bg-secondary" : ""}`}
|
||||||
|
onClick={() => {
|
||||||
|
onSelect("detail");
|
||||||
|
setDrawer(false);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{t("detail.label")}
|
||||||
|
</div>
|
||||||
</DrawerContent>
|
</DrawerContent>
|
||||||
</Drawer>
|
</Drawer>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user