Skip to content

Commit

Permalink
fix: remove disabled state in datatable-batch-actions delete button (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dedanade committed Mar 6, 2024
1 parent 5ab7952 commit 521a3f8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .all-contributorsrc
Expand Up @@ -1425,6 +1425,15 @@
"code",
"doc"
]
},
{
"login": "dedanade",
"name": "Daniel Adebonojo",
"avatar_url": "https://avatars.githubusercontent.com/u/66811981?v=4",
"profile": "https://github.com/dedanade",
"contributions": [
"doc"
]
}
],
"commitConvention": "none"
Expand Down
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -277,8 +277,10 @@ check out our [Contributing Guide](/.github/CONTRIBUTING.md) and our
</tr>
<tr>
<td align="center"><a href="https://github.com/ggdawson"><img src="https://avatars.githubusercontent.com/u/37080130?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Garrett Dawson</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=ggdawson" title="Code">💻</a> <a href="https://github.com/carbon-design-system/carbon/commits?author=ggdawson" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/dedanade"><img src="https://avatars.githubusercontent.com/u/66811981?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Daniel Adebonojo</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=dedanade" title="Documentation">📖</a></td>
</tr>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

Expand Down
Expand Up @@ -96,8 +96,7 @@ export const Default = () => (
<TableBatchAction
tabIndex={batchActionProps.shouldShowBatchActions ? 0 : -1}
renderIcon={TrashCan}
onClick={batchActionClick(selectedRows)}
disabled>
onClick={batchActionClick(selectedRows)}>
Delete
</TableBatchAction>
<TableBatchAction
Expand Down

0 comments on commit 521a3f8

Please sign in to comment.