mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-26 13:47:03 +02:00
Ensure train is option on mobile
This commit is contained in:
parent
bbf49ec214
commit
5f8ecd7531
@ -353,6 +353,15 @@ function LibrarySelector({
|
||||
<Button className="capitalize">{pageToggle}</Button>
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent>
|
||||
{trainImages.length > 0 && (
|
||||
<DropdownMenuItem
|
||||
className={`flex scroll-mx-10 items-center justify-between gap-2 ${pageToggle == "train" ? "" : "*:text-muted-foreground"}`}
|
||||
aria-label={t("train.aria")}
|
||||
onClick={() => setPageToggle("train")}
|
||||
>
|
||||
<div>{t("train.title")}</div>
|
||||
</DropdownMenuItem>
|
||||
)}
|
||||
{Object.values(faces).map((face) => (
|
||||
<DropdownMenuItem
|
||||
className="capitalize"
|
||||
|
Loading…
Reference in New Issue
Block a user