Skip to content

Commit

Permalink
Fix showing text
Browse files Browse the repository at this point in the history
  • Loading branch information
gokulkrishh committed Jul 28, 2023
1 parent c848b7a commit a08dce4
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions components/table/data-table-filter-options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@ export default function DataTableFilterOptions<TData>({
return (
<DropdownMenu>
<DropdownMenuTrigger asChild>
<>
<span className='text-sm mt-1 font-medium hidden lg:inline-block'>Showing: </span>
<Button variant="outline" size="sm" className="h-8 text-sm capitalize max-sm:px-1 lg:flex">
<Filter className="mr-1.5 h-3 w-3 sm:inline-block" />
{views[filter].name}
</Button>
</>
<Button variant="outline" size="sm" className="h-8 text-sm capitalize max-sm:px-1 lg:flex">
<Filter className="mr-1.5 h-3 w-3 sm:inline-block" />
{views[filter].name}
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align="end" className="w-[150px]">
<DropdownMenuRadioGroup value={filter} onValueChange={setFilter}>
Expand Down

1 comment on commit a08dce4

@vercel
Copy link

@vercel vercel bot commented on a08dce4 Jul 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.