Skip to content

Commit

Permalink
feat(fe): delete hide (#1408)
Browse files Browse the repository at this point in the history
  • Loading branch information
jihorobert authored Feb 18, 2024
1 parent e725bc6 commit 986e344
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions frontend-client/components/DataTableColumnHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuItem,
DropdownMenuSeparator,
DropdownMenuTrigger
} from '@/components/ui/dropdown-menu'
import { cn } from '@/lib/utils'
import {
ArrowDownIcon,
ArrowUpIcon,
CaretSortIcon,
EyeNoneIcon
CaretSortIcon
} from '@radix-ui/react-icons'
import type { Column } from '@tanstack/react-table'

Expand Down Expand Up @@ -59,11 +57,6 @@ export function DataTableColumnHeader<TData, TValue>({
<ArrowDownIcon className="text-muted-foreground/70 mr-2 h-3.5 w-3.5" />
Desc
</DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuItem onClick={() => column.toggleVisibility(false)}>
<EyeNoneIcon className="text-muted-foreground/70 mr-2 h-3.5 w-3.5" />
Hide
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
</div>
Expand Down

0 comments on commit 986e344

Please sign in to comment.