Skip to content

Commit

Permalink
improved ux
Browse files Browse the repository at this point in the history
  • Loading branch information
EliaGuarnieri committed Jul 15, 2024
1 parent 7b499e7 commit 87c3816
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/components/sti-table/columns-selector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export function ColumnsSelector<TData>(props: Props<TData>) {
<DropdownMenuCheckboxItem
checked={showAll}
onCheckedChange={setShowAll}
onSelect={(e: Event) => e.preventDefault()}
>
Show all columns
</DropdownMenuCheckboxItem>
Expand Down Expand Up @@ -96,6 +97,7 @@ export function ColumnsSelector<TData>(props: Props<TData>) {
key={column.id}
checked={checked}
onCheckedChange={setChecked}
onSelect={(e: Event) => e.preventDefault()}
>
{labels[column.id]}
</DropdownMenuCheckboxItem>
Expand Down
1 change: 0 additions & 1 deletion src/components/sti-table/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export const Table = (props: Props) => {
});

/**
* TODO: Implement hiding columns
* TODO: Implement fullscreen mode
*/

Expand Down

0 comments on commit 87c3816

Please sign in to comment.