Skip to content

Commit

Permalink
feat: sort icon appear in the Actions column on Datagrid carbon-desig…
Browse files Browse the repository at this point in the history
  • Loading branch information
SeonyuK authored and paul-balchin-ibm committed Feb 22, 2024
1 parent 2481922 commit 710c4c1
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,10 @@ const useSortableColumns = (hooks) => {
return <ArrowsVertical {...iconProps} />;
};
const Header = (headerProp) =>
column.disableSortBy === true || column.id === 'datagridSelection' ? (
column.disableSortBy ? (
column.disableSortBy === true ||
column.id === 'datagridSelection' ||
column.isAction ? (
column.disableSortBy || column.isAction ? (
column.Header
) : (
<SelectAll {...instance} />
Expand Down

0 comments on commit 710c4c1

Please sign in to comment.