Skip to content

Commit

Permalink
chore: remove row selection on cancel click
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewgallo committed Sep 18, 2024
1 parent 64e4609 commit 2751a35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web-components/batch-actions/src/batch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export class MyBatchTable extends LitElement {
<cds-table-batch-actions
?active=${table.getIsSomeRowsSelected()}
selected-rows-count=${table.getSelectedRowModel().rows.length}
@cds-table-batch-actions-cancel-clicked=${() => table.toggleAllRowsSelected(false)}
>
<cds-button>Delete ${TrashCan({ slot: 'icon' })}</cds-button>
<cds-button tooltip-position="bottom" tooltip-text="Add"
Expand Down

0 comments on commit 2751a35

Please sign in to comment.