mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-06-21 03:41:55 +03:00
Merge f00dd5c7af into 5003ab895c
This commit is contained in:
commit
ea6f16d89b
0
.devcontainer/post_create.sh
Executable file → Normal file
0
.devcontainer/post_create.sh
Executable file → Normal file
@ -21,6 +21,7 @@
|
|||||||
"1hour": "1 hour",
|
"1hour": "1 hour",
|
||||||
"12hours": "12 hours",
|
"12hours": "12 hours",
|
||||||
"24hours": "24 hours",
|
"24hours": "24 hours",
|
||||||
|
"custom": "Custom...",
|
||||||
"pm": "pm",
|
"pm": "pm",
|
||||||
"am": "am",
|
"am": "am",
|
||||||
"yr": "{{time}}yr",
|
"yr": "{{time}}yr",
|
||||||
|
|||||||
@ -1191,8 +1191,15 @@
|
|||||||
"1hour": "Suspend for 1 hour",
|
"1hour": "Suspend for 1 hour",
|
||||||
"12hours": "Suspend for 12 hours",
|
"12hours": "Suspend for 12 hours",
|
||||||
"24hours": "Suspend for 24 hours",
|
"24hours": "Suspend for 24 hours",
|
||||||
|
"custom": "Suspend until...",
|
||||||
"untilRestart": "Suspend until restart"
|
"untilRestart": "Suspend until restart"
|
||||||
},
|
},
|
||||||
|
"customSuspension": {
|
||||||
|
"title": "Custom suspension time",
|
||||||
|
"description": "Suspend notifications for this camera until the selected time.",
|
||||||
|
"untilLabel": "Suspend until",
|
||||||
|
"invalidTime": "Pick a time in the future."
|
||||||
|
},
|
||||||
"cancelSuspension": "Cancel Suspension",
|
"cancelSuspension": "Cancel Suspension",
|
||||||
"toast": {
|
"toast": {
|
||||||
"success": {
|
"success": {
|
||||||
|
|||||||
@ -23,7 +23,7 @@ import {
|
|||||||
useState,
|
useState,
|
||||||
} from "react";
|
} from "react";
|
||||||
import { useForm } from "react-hook-form";
|
import { useForm } from "react-hook-form";
|
||||||
import { LuCheck, LuExternalLink, LuX } from "react-icons/lu";
|
import { LuCheck, LuChevronDown, LuExternalLink, LuX } from "react-icons/lu";
|
||||||
import { CiCircleAlert } from "react-icons/ci";
|
import { CiCircleAlert } from "react-icons/ci";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
import { toast } from "sonner";
|
import { toast } from "sonner";
|
||||||
@ -35,12 +35,12 @@ import {
|
|||||||
useNotificationTest,
|
useNotificationTest,
|
||||||
} from "@/api/ws";
|
} from "@/api/ws";
|
||||||
import {
|
import {
|
||||||
Select,
|
DropdownMenu,
|
||||||
SelectTrigger,
|
DropdownMenuContent,
|
||||||
SelectValue,
|
DropdownMenuItem,
|
||||||
SelectContent,
|
DropdownMenuSeparator,
|
||||||
SelectItem,
|
DropdownMenuTrigger,
|
||||||
} from "@/components/ui/select";
|
} from "@/components/ui/dropdown-menu";
|
||||||
import { formatUnixTimestampToDateTime } from "@/utils/dateUtil";
|
import { formatUnixTimestampToDateTime } from "@/utils/dateUtil";
|
||||||
import { use24HourTime } from "@/hooks/use-date-utils";
|
import { use24HourTime } from "@/hooks/use-date-utils";
|
||||||
import FilterSwitch from "@/components/filter/FilterSwitch";
|
import FilterSwitch from "@/components/filter/FilterSwitch";
|
||||||
@ -51,6 +51,7 @@ import { useDocDomain } from "@/hooks/use-doc-domain";
|
|||||||
import { isPWA } from "@/utils/isPWA";
|
import { isPWA } from "@/utils/isPWA";
|
||||||
import { isIOS } from "react-device-detect";
|
import { isIOS } from "react-device-detect";
|
||||||
import { CameraNameLabel } from "@/components/camera/FriendlyNameLabel";
|
import { CameraNameLabel } from "@/components/camera/FriendlyNameLabel";
|
||||||
|
import CustomSuspensionDialog from "@/components/overlay/dialog/CustomSuspensionDialog";
|
||||||
import { useIsAdmin } from "@/hooks/use-is-admin";
|
import { useIsAdmin } from "@/hooks/use-is-admin";
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
import cloneDeep from "lodash/cloneDeep";
|
import cloneDeep from "lodash/cloneDeep";
|
||||||
@ -756,6 +757,8 @@ export function CameraNotificationSwitch({
|
|||||||
}
|
}
|
||||||
}, [notificationSuspendUntil, notificationState]);
|
}, [notificationSuspendUntil, notificationState]);
|
||||||
|
|
||||||
|
const [customDialogOpen, setCustomDialogOpen] = useState(false);
|
||||||
|
|
||||||
const handleSuspend = (duration: string) => {
|
const handleSuspend = (duration: string) => {
|
||||||
setIsSuspended(true);
|
setIsSuspended(true);
|
||||||
if (duration == "off") {
|
if (duration == "off") {
|
||||||
@ -765,6 +768,11 @@ export function CameraNotificationSwitch({
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const handleCustomSuspend = (totalMinutes: number) => {
|
||||||
|
setIsSuspended(true);
|
||||||
|
sendNotificationSuspend(totalMinutes);
|
||||||
|
};
|
||||||
|
|
||||||
const handleCancelSuspension = () => {
|
const handleCancelSuspension = () => {
|
||||||
sendNotification("ON");
|
sendNotification("ON");
|
||||||
sendNotificationSuspend(0);
|
sendNotificationSuspend(0);
|
||||||
@ -824,34 +832,41 @@ export function CameraNotificationSwitch({
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{!isSuspended ? (
|
{!isSuspended ? (
|
||||||
<Select onValueChange={handleSuspend}>
|
<DropdownMenu>
|
||||||
<SelectTrigger className="w-auto">
|
<DropdownMenuTrigger asChild>
|
||||||
<SelectValue placeholder={t("notification.suspendTime.suspend")} />
|
<Button size="sm" variant="outline" className="flex gap-2">
|
||||||
</SelectTrigger>
|
{t("notification.suspendTime.suspend")}
|
||||||
<SelectContent>
|
<LuChevronDown className="h-4 w-4 opacity-50" />
|
||||||
<SelectItem value="5">
|
</Button>
|
||||||
|
</DropdownMenuTrigger>
|
||||||
|
<DropdownMenuContent>
|
||||||
|
<DropdownMenuItem onClick={() => handleSuspend("5")}>
|
||||||
{t("notification.suspendTime.5minutes")}
|
{t("notification.suspendTime.5minutes")}
|
||||||
</SelectItem>
|
</DropdownMenuItem>
|
||||||
<SelectItem value="10">
|
<DropdownMenuItem onClick={() => handleSuspend("10")}>
|
||||||
{t("notification.suspendTime.10minutes")}
|
{t("notification.suspendTime.10minutes")}
|
||||||
</SelectItem>
|
</DropdownMenuItem>
|
||||||
<SelectItem value="30">
|
<DropdownMenuItem onClick={() => handleSuspend("30")}>
|
||||||
{t("notification.suspendTime.30minutes")}
|
{t("notification.suspendTime.30minutes")}
|
||||||
</SelectItem>
|
</DropdownMenuItem>
|
||||||
<SelectItem value="60">
|
<DropdownMenuItem onClick={() => handleSuspend("60")}>
|
||||||
{t("notification.suspendTime.1hour")}
|
{t("notification.suspendTime.1hour")}
|
||||||
</SelectItem>
|
</DropdownMenuItem>
|
||||||
<SelectItem value="840">
|
<DropdownMenuItem onClick={() => handleSuspend("840")}>
|
||||||
{t("notification.suspendTime.12hours")}
|
{t("notification.suspendTime.12hours")}
|
||||||
</SelectItem>
|
</DropdownMenuItem>
|
||||||
<SelectItem value="1440">
|
<DropdownMenuItem onClick={() => handleSuspend("1440")}>
|
||||||
{t("notification.suspendTime.24hours")}
|
{t("notification.suspendTime.24hours")}
|
||||||
</SelectItem>
|
</DropdownMenuItem>
|
||||||
<SelectItem value="off">
|
<DropdownMenuItem onClick={() => handleSuspend("off")}>
|
||||||
{t("notification.suspendTime.untilRestart")}
|
{t("notification.suspendTime.untilRestart")}
|
||||||
</SelectItem>
|
</DropdownMenuItem>
|
||||||
</SelectContent>
|
<DropdownMenuSeparator />
|
||||||
</Select>
|
<DropdownMenuItem onClick={() => setCustomDialogOpen(true)}>
|
||||||
|
{t("notification.suspendTime.custom")}
|
||||||
|
</DropdownMenuItem>
|
||||||
|
</DropdownMenuContent>
|
||||||
|
</DropdownMenu>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
variant="destructive"
|
variant="destructive"
|
||||||
@ -861,6 +876,12 @@ export function CameraNotificationSwitch({
|
|||||||
{t("notification.cancelSuspension")}
|
{t("notification.cancelSuspension")}
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
<CustomSuspensionDialog
|
||||||
|
open={customDialogOpen}
|
||||||
|
onOpenChange={setCustomDialogOpen}
|
||||||
|
onConfirm={handleCustomSuspend}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -50,6 +50,7 @@ import { use24HourTime } from "@/hooks/use-date-utils";
|
|||||||
import { useIsAdmin } from "@/hooks/use-is-admin";
|
import { useIsAdmin } from "@/hooks/use-is-admin";
|
||||||
import { CameraNameLabel } from "../camera/FriendlyNameLabel";
|
import { CameraNameLabel } from "../camera/FriendlyNameLabel";
|
||||||
import { LiveStreamMetadata } from "@/types/live";
|
import { LiveStreamMetadata } from "@/types/live";
|
||||||
|
import CustomSuspensionDialog from "@/components/overlay/dialog/CustomSuspensionDialog";
|
||||||
|
|
||||||
type LiveContextMenuProps = {
|
type LiveContextMenuProps = {
|
||||||
className?: string;
|
className?: string;
|
||||||
@ -238,6 +239,8 @@ export default function LiveContextMenu({
|
|||||||
}
|
}
|
||||||
}, [notificationSuspendUntil, notificationState]);
|
}, [notificationSuspendUntil, notificationState]);
|
||||||
|
|
||||||
|
const [customDialogOpen, setCustomDialogOpen] = useState(false);
|
||||||
|
|
||||||
const handleSuspend = (duration: string) => {
|
const handleSuspend = (duration: string) => {
|
||||||
if (duration === "off") {
|
if (duration === "off") {
|
||||||
sendNotification("OFF");
|
sendNotification("OFF");
|
||||||
@ -534,6 +537,16 @@ export default function LiveContextMenu({
|
|||||||
>
|
>
|
||||||
{t("time.24hours", { ns: "common" })}
|
{t("time.24hours", { ns: "common" })}
|
||||||
</ContextMenuItem>
|
</ContextMenuItem>
|
||||||
|
<ContextMenuItem
|
||||||
|
disabled={!isEnabled}
|
||||||
|
onClick={
|
||||||
|
isEnabled
|
||||||
|
? () => setCustomDialogOpen(true)
|
||||||
|
: undefined
|
||||||
|
}
|
||||||
|
>
|
||||||
|
{t("time.custom", { ns: "common" })}
|
||||||
|
</ContextMenuItem>
|
||||||
<ContextMenuItem
|
<ContextMenuItem
|
||||||
disabled={!isEnabled}
|
disabled={!isEnabled}
|
||||||
onClick={
|
onClick={
|
||||||
@ -566,6 +579,12 @@ export default function LiveContextMenu({
|
|||||||
streamMetadata={streamMetadata}
|
streamMetadata={streamMetadata}
|
||||||
/>
|
/>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
|
|
||||||
|
<CustomSuspensionDialog
|
||||||
|
open={customDialogOpen}
|
||||||
|
onOpenChange={setCustomDialogOpen}
|
||||||
|
onConfirm={(minutes) => sendNotificationSuspend(minutes)}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,12 @@
|
|||||||
import { RecordingsSummary, ReviewSummary } from "@/types/review";
|
import { RecordingsSummary, ReviewSummary } from "@/types/review";
|
||||||
import { Calendar } from "../ui/calendar";
|
import { Calendar } from "../ui/calendar";
|
||||||
import { ButtonHTMLAttributes, useEffect, useMemo, useRef } from "react";
|
import {
|
||||||
|
ButtonHTMLAttributes,
|
||||||
|
ComponentProps,
|
||||||
|
useEffect,
|
||||||
|
useMemo,
|
||||||
|
useRef,
|
||||||
|
} from "react";
|
||||||
import { FaCircle } from "react-icons/fa";
|
import { FaCircle } from "react-icons/fa";
|
||||||
import { getUTCOffset } from "@/utils/dateUtil";
|
import { getUTCOffset } from "@/utils/dateUtil";
|
||||||
import { type DayButtonProps } from "react-day-picker";
|
import { type DayButtonProps } from "react-day-picker";
|
||||||
@ -156,12 +162,14 @@ type TimezoneAwareCalendarProps = {
|
|||||||
timezone?: string;
|
timezone?: string;
|
||||||
selectedDay?: Date;
|
selectedDay?: Date;
|
||||||
onSelect: (day?: Date) => void;
|
onSelect: (day?: Date) => void;
|
||||||
|
disabled?: ComponentProps<typeof Calendar>["disabled"];
|
||||||
recordingsSummary?: RecordingsSummary;
|
recordingsSummary?: RecordingsSummary;
|
||||||
};
|
};
|
||||||
export function TimezoneAwareCalendar({
|
export function TimezoneAwareCalendar({
|
||||||
timezone,
|
timezone,
|
||||||
selectedDay,
|
selectedDay,
|
||||||
onSelect,
|
onSelect,
|
||||||
|
disabled,
|
||||||
recordingsSummary,
|
recordingsSummary,
|
||||||
}: TimezoneAwareCalendarProps) {
|
}: TimezoneAwareCalendarProps) {
|
||||||
const [weekStartsOn] = useUserPersistence("weekStartsOn", 0);
|
const [weekStartsOn] = useUserPersistence("weekStartsOn", 0);
|
||||||
@ -187,7 +195,7 @@ export function TimezoneAwareCalendar({
|
|||||||
timezone ? Math.round(getUTCOffset(new Date(), timezone)) : undefined,
|
timezone ? Math.round(getUTCOffset(new Date(), timezone)) : undefined,
|
||||||
[timezone],
|
[timezone],
|
||||||
);
|
);
|
||||||
const disabledDates = useMemo(() => {
|
const defaultDisabledDates = useMemo(() => {
|
||||||
const tomorrow = new Date();
|
const tomorrow = new Date();
|
||||||
|
|
||||||
if (timezoneOffset) {
|
if (timezoneOffset) {
|
||||||
@ -205,6 +213,7 @@ export function TimezoneAwareCalendar({
|
|||||||
future.setFullYear(tomorrow.getFullYear() + 10);
|
future.setFullYear(tomorrow.getFullYear() + 10);
|
||||||
return { from: tomorrow, to: future };
|
return { from: tomorrow, to: future };
|
||||||
}, [timezoneOffset]);
|
}, [timezoneOffset]);
|
||||||
|
const disabledDates = disabled ?? defaultDisabledDates;
|
||||||
|
|
||||||
const today = useMemo(() => {
|
const today = useMemo(() => {
|
||||||
if (!timezoneOffset) {
|
if (!timezoneOffset) {
|
||||||
|
|||||||
167
web/src/components/overlay/dialog/CustomSuspensionDialog.tsx
Normal file
167
web/src/components/overlay/dialog/CustomSuspensionDialog.tsx
Normal file
@ -0,0 +1,167 @@
|
|||||||
|
import { useEffect, useState } from "react";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
import { isDesktop } from "react-device-detect";
|
||||||
|
import { FaCalendarAlt } from "react-icons/fa";
|
||||||
|
import useSWR from "swr";
|
||||||
|
import { Button } from "@/components/ui/button";
|
||||||
|
import {
|
||||||
|
Dialog,
|
||||||
|
DialogContent,
|
||||||
|
DialogDescription,
|
||||||
|
DialogFooter,
|
||||||
|
DialogHeader,
|
||||||
|
DialogTitle,
|
||||||
|
} from "@/components/ui/dialog";
|
||||||
|
import {
|
||||||
|
Popover,
|
||||||
|
PopoverContent,
|
||||||
|
PopoverTrigger,
|
||||||
|
} from "@/components/ui/popover";
|
||||||
|
import { Label } from "@/components/ui/label";
|
||||||
|
import { TimezoneAwareCalendar } from "@/components/overlay/ReviewActivityCalendar";
|
||||||
|
import { FrigateConfig } from "@/types/frigateConfig";
|
||||||
|
import { useFormattedTimestamp } from "@/hooks/use-date-utils";
|
||||||
|
|
||||||
|
type CustomSuspensionDialogProps = {
|
||||||
|
open: boolean;
|
||||||
|
onOpenChange: (open: boolean) => void;
|
||||||
|
onConfirm: (minutes: number) => void;
|
||||||
|
};
|
||||||
|
|
||||||
|
const ONE_HOUR_MS = 60 * 60 * 1000;
|
||||||
|
|
||||||
|
function pad(n: number): string {
|
||||||
|
return n.toString().padStart(2, "0");
|
||||||
|
}
|
||||||
|
|
||||||
|
function isValidDate(d: Date): boolean {
|
||||||
|
return !Number.isNaN(d.getTime());
|
||||||
|
}
|
||||||
|
|
||||||
|
export default function CustomSuspensionDialog({
|
||||||
|
open,
|
||||||
|
onOpenChange,
|
||||||
|
onConfirm,
|
||||||
|
}: CustomSuspensionDialogProps) {
|
||||||
|
const { t } = useTranslation(["views/settings"]);
|
||||||
|
const { data: config } = useSWR<FrigateConfig>("config");
|
||||||
|
|
||||||
|
const [until, setUntil] = useState<Date>(
|
||||||
|
() => new Date(Date.now() + ONE_HOUR_MS),
|
||||||
|
);
|
||||||
|
const [calendarOpen, setCalendarOpen] = useState(false);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (open) setUntil(new Date(Date.now() + ONE_HOUR_MS));
|
||||||
|
}, [open]);
|
||||||
|
|
||||||
|
const formattedDate = useFormattedTimestamp(
|
||||||
|
isValidDate(until) ? Math.floor(until.getTime() / 1000) : 0,
|
||||||
|
t("time.formattedTimestampMonthDayYear.24hour", { ns: "common" }),
|
||||||
|
config?.ui.timezone,
|
||||||
|
);
|
||||||
|
|
||||||
|
const isFuture = isValidDate(until) && until.getTime() > Date.now();
|
||||||
|
|
||||||
|
const handleApply = () => {
|
||||||
|
if (!isFuture) return;
|
||||||
|
onConfirm(Math.ceil((until.getTime() - Date.now()) / 60_000));
|
||||||
|
onOpenChange(false);
|
||||||
|
};
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Dialog open={open} onOpenChange={onOpenChange}>
|
||||||
|
<DialogContent>
|
||||||
|
<DialogHeader>
|
||||||
|
<DialogTitle>{t("notification.customSuspension.title")}</DialogTitle>
|
||||||
|
<DialogDescription>
|
||||||
|
{t("notification.customSuspension.description")}
|
||||||
|
</DialogDescription>
|
||||||
|
</DialogHeader>
|
||||||
|
|
||||||
|
<div className="flex flex-col gap-2">
|
||||||
|
<Label>{t("notification.customSuspension.untilLabel")}</Label>
|
||||||
|
<div className="flex items-center gap-2 rounded-lg bg-secondary p-2 text-secondary-foreground">
|
||||||
|
<FaCalendarAlt />
|
||||||
|
<Popover open={calendarOpen} onOpenChange={setCalendarOpen}>
|
||||||
|
<PopoverTrigger asChild>
|
||||||
|
<Button
|
||||||
|
className={`text-primary ${isDesktop ? "" : "text-xs"}`}
|
||||||
|
variant={calendarOpen ? "select" : "default"}
|
||||||
|
size="sm"
|
||||||
|
>
|
||||||
|
{isValidDate(until) ? formattedDate : "—"}
|
||||||
|
</Button>
|
||||||
|
</PopoverTrigger>
|
||||||
|
<PopoverContent
|
||||||
|
className="flex flex-col items-center"
|
||||||
|
disablePortal
|
||||||
|
>
|
||||||
|
<TimezoneAwareCalendar
|
||||||
|
timezone={config?.ui.timezone}
|
||||||
|
selectedDay={isValidDate(until) ? until : undefined}
|
||||||
|
disabled={{
|
||||||
|
before: new Date(new Date().setHours(0, 0, 0, 0)),
|
||||||
|
}}
|
||||||
|
onSelect={(day) => {
|
||||||
|
if (!day) return;
|
||||||
|
const next = new Date(day);
|
||||||
|
const carry = isValidDate(until) ? until : new Date();
|
||||||
|
next.setHours(
|
||||||
|
carry.getHours(),
|
||||||
|
carry.getMinutes(),
|
||||||
|
carry.getSeconds(),
|
||||||
|
0,
|
||||||
|
);
|
||||||
|
setUntil(next);
|
||||||
|
setCalendarOpen(false);
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</PopoverContent>
|
||||||
|
</Popover>
|
||||||
|
<input
|
||||||
|
className="text-md border border-input bg-background p-1 text-secondary-foreground hover:bg-accent hover:text-accent-foreground dark:[color-scheme:dark]"
|
||||||
|
aria-label={t("notification.customSuspension.untilLabel")}
|
||||||
|
type="time"
|
||||||
|
value={
|
||||||
|
isValidDate(until)
|
||||||
|
? `${pad(until.getHours())}:${pad(until.getMinutes())}`
|
||||||
|
: ""
|
||||||
|
}
|
||||||
|
step="60"
|
||||||
|
onChange={(e) => {
|
||||||
|
const [h, m] = e.target.value.split(":");
|
||||||
|
const hh = Number.parseInt(h ?? "", 10);
|
||||||
|
const mm = Number.parseInt(m ?? "", 10);
|
||||||
|
if (Number.isNaN(hh) || Number.isNaN(mm)) return;
|
||||||
|
const base = isValidDate(until) ? until : new Date();
|
||||||
|
const next = new Date(base);
|
||||||
|
next.setHours(hh, mm, 0, 0);
|
||||||
|
setUntil(next);
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
{!isFuture && (
|
||||||
|
<p className="text-sm text-danger">
|
||||||
|
{t("notification.customSuspension.invalidTime")}
|
||||||
|
</p>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<DialogFooter>
|
||||||
|
<Button type="button" onClick={() => onOpenChange(false)}>
|
||||||
|
{t("button.cancel", { ns: "common" })}
|
||||||
|
</Button>
|
||||||
|
<Button
|
||||||
|
variant="select"
|
||||||
|
type="button"
|
||||||
|
disabled={!isFuture}
|
||||||
|
onClick={handleApply}
|
||||||
|
>
|
||||||
|
{t("button.apply", { ns: "common" })}
|
||||||
|
</Button>
|
||||||
|
</DialogFooter>
|
||||||
|
</DialogContent>
|
||||||
|
</Dialog>
|
||||||
|
);
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user