Skip to content

Commit

Permalink
Add some selected state
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Nov 28, 2023
1 parent 25f4c2b commit f6f00b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/edit-site/src/components/dataviews/view-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ function ViewList( {
<CheckboxControl
__nextHasNoMarginBottom
checked={ areAllSelected }
indeterminate={ ! areAllSelected && selection.length }
onChange={ () => {
if ( areAllSelected ) {
setSelection( [] );
Expand Down

0 comments on commit f6f00b1

Please sign in to comment.