mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
change icon
This commit is contained in:
parent
2afe502bc2
commit
ec1a177358
@ -31,7 +31,7 @@ import {
|
|||||||
TooltipTrigger,
|
TooltipTrigger,
|
||||||
} from "@/components/ui/tooltip";
|
} from "@/components/ui/tooltip";
|
||||||
import { IoClose } from "react-icons/io5";
|
import { IoClose } from "react-icons/io5";
|
||||||
import { LuMoveDiagonal2 } from "react-icons/lu";
|
import { LuMove } from "react-icons/lu";
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
|
|
||||||
type DraggableGridLayoutProps = {
|
type DraggableGridLayoutProps = {
|
||||||
@ -394,7 +394,7 @@ function DesktopEditLayoutButton({
|
|||||||
{isEditMode ? (
|
{isEditMode ? (
|
||||||
<IoClose className="size-5" />
|
<IoClose className="size-5" />
|
||||||
) : (
|
) : (
|
||||||
<LuMoveDiagonal2 className="size-5" />
|
<LuMove className="size-5" />
|
||||||
)}
|
)}
|
||||||
</Button>
|
</Button>
|
||||||
</TooltipTrigger>
|
</TooltipTrigger>
|
||||||
|
|||||||
@ -22,7 +22,7 @@ import {
|
|||||||
import useSWR from "swr";
|
import useSWR from "swr";
|
||||||
import DraggableGridLayout from "./DraggableGridLayout";
|
import DraggableGridLayout from "./DraggableGridLayout";
|
||||||
import { IoClose } from "react-icons/io5";
|
import { IoClose } from "react-icons/io5";
|
||||||
import { LuMoveDiagonal2 } from "react-icons/lu";
|
import { LuMove } from "react-icons/lu";
|
||||||
|
|
||||||
type LiveDashboardViewProps = {
|
type LiveDashboardViewProps = {
|
||||||
cameras: CameraConfig[];
|
cameras: CameraConfig[];
|
||||||
@ -196,7 +196,7 @@ export default function LiveDashboardView({
|
|||||||
setIsEditMode((prevIsEditMode) => !prevIsEditMode)
|
setIsEditMode((prevIsEditMode) => !prevIsEditMode)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{isEditMode ? <IoClose /> : <LuMoveDiagonal2 />}
|
{isEditMode ? <IoClose /> : <LuMove />}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user