Skip to content

Commit

Permalink
remove open word
Browse files Browse the repository at this point in the history
  • Loading branch information
eaguad1337 committed Oct 22, 2023
1 parent 440d7d6 commit b9f0455
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 35 deletions.
35 changes: 1 addition & 34 deletions src/collapsar/assets/js/components/ResourceIndexRowActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,40 +94,7 @@ export function ResourceIndexRowActions<TData>({
<BiTrash className="h-4 w-4" />
<span className="sr-only">Delete</span>
</Button>
{/* <DropdownMenu>
<DropdownMenuTrigger asChild>
<Button
variant="ghost"
className="flex h-8 w-8 p-0 data-[state=open]:bg-muted"
>
<DotsHorizontalIcon className="h-4 w-4" />
<span className="sr-only">Open menu</span>
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align="end" className="w-[160px]">
<DropdownMenuItem>Edit</DropdownMenuItem>
<DropdownMenuItem>Make a copy</DropdownMenuItem>
<DropdownMenuItem>Favorite</DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuSub>
<DropdownMenuSubTrigger>Labels</DropdownMenuSubTrigger>
<DropdownMenuSubContent>
<DropdownMenuRadioGroup value="2">
{labels.map((label) => (
<DropdownMenuRadioItem key={label.value} value={label.value}>
{label.label}
</DropdownMenuRadioItem>
))}
</DropdownMenuRadioGroup>
</DropdownMenuSubContent>
</DropdownMenuSub>
<DropdownMenuSeparator />
<DropdownMenuItem>
Delete
<DropdownMenuShortcut>⌘⌫</DropdownMenuShortcut>
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu> */}

</div>
);
}
1 change: 0 additions & 1 deletion src/collapsar/assets/js/components/utils/AlertMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ interface AlertDialogProps {
export function AlertMessage({ open, content, title, setOpen, onConfirm, onCancel}: AlertDialogProps) {
return (
<AlertDialog open={open}>
<AlertDialogTrigger>Open</AlertDialogTrigger>
<AlertDialogContent>
<AlertDialogHeader>
<AlertDialogTitle>{title}</AlertDialogTitle>
Expand Down

0 comments on commit b9f0455

Please sign in to comment.