mirror of
https://github.com/ClipFusion-org/clipfusion.git
synced 2025-08-03 15:55:07 +00:00
fixed project selection when clicking directly on the checkbox
This commit is contained in:
parent
98c21f3017
commit
2ddd8b9d3b
@ -10,7 +10,6 @@ import { Toggle } from "@/components/ui/toggle";
|
|||||||
import Search from "@/components/search";
|
import Search from "@/components/search";
|
||||||
import { useIsMobile } from "@/hooks/use-mobile";
|
import { useIsMobile } from "@/hooks/use-mobile";
|
||||||
import { AspectRatio } from "@/components/ui/aspect-ratio";
|
import { AspectRatio } from "@/components/ui/aspect-ratio";
|
||||||
import { Card } from "@/components/ui/card";
|
|
||||||
import Project from "@/types/Project";
|
import Project from "@/types/Project";
|
||||||
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from "@/components/ui/dialog";
|
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from "@/components/ui/dialog";
|
||||||
import { Input } from "@/components/ui/input";
|
import { Input } from "@/components/ui/input";
|
||||||
@ -427,8 +426,8 @@ const ProjectContainer = ({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{selecting && (
|
{selecting && (
|
||||||
<div className="absolute top-0 right-0 p-5">
|
<div className="absolute top-0 right-0 p-5" data-selectable="true">
|
||||||
<Checkbox checked={selectedProjects.includes(project.uuid)} onCheckedChange={(_) => handleCheck} />
|
<Checkbox checked={selectedProjects.includes(project.uuid)} data-selectable="true"/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</AscendingCard>
|
</AscendingCard>
|
||||||
|
Loading…
Reference in New Issue
Block a user