Skip to content

Commit

Permalink
Merge pull request #1107 from jetstreamapp/bug/1103-data-table-contex…
Browse files Browse the repository at this point in the history
…t-menu-fix

Fox copy cell to clipboard
  • Loading branch information
paustint authored Dec 8, 2024
2 parents fc030fa + d416573 commit 592bb90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/ui/src/lib/data-table/DataTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const DataTable = forwardRef<any, DataTableProps<any>>(
row: filteredRows[contextMenuProps.rowIdx] as T,
rowIdx: contextMenuProps.rowIdx,
rows: filteredRows as T[],
column: columns[contextMenuProps.rowIdx],
column: contextMenuProps.column,
columns,
});
handleCloseContextMenu();
Expand Down
2 changes: 1 addition & 1 deletion libs/ui/src/lib/data-table/DataTree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const DataTree = forwardRef<any, DataTreeProps<any>>(
row: filteredRows[contextMenuProps.rowIdx] as T,
rowIdx: contextMenuProps.rowIdx,
rows: filteredRows as T[],
column: columns[contextMenuProps.rowIdx],
column: contextMenuProps.column,
columns,
});
handleCloseContextMenu();
Expand Down

0 comments on commit 592bb90

Please sign in to comment.