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 29, 2023
1 parent 674230b commit 0bfb834
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 0bfb834

Please sign in to comment.