Skip to content

Commit

Permalink
Column visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Feb 20, 2024
1 parent 3794174 commit c4353c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default async function Transactions({
<SearchField placeholder="Search transactions" />

{/* NOTE: ColumnFilter widht + 10px */}
<div className="mr-[46px]">
<div className={cn(!empty && "mr-[46px]")}>
<Filter sections={sections} />
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export function DataTableHeader({ table }) {
</TableHead>
)}

{isVisible("status") && (
{isVisible("amount") && (
<TableHead>
<Button
className="p-0 hover:bg-transparent space-x-2"
Expand Down

0 comments on commit c4353c7

Please sign in to comment.