Show 5 todo items

This commit is contained in:
Emili Castells Guasch 2025-01-07 12:18:24 +01:00
parent 47b9cfbbdb
commit bb84fe4346

View file

@ -8,7 +8,7 @@ const TodoSettingsBlock = ( { todosData, className = '' } ) => {
className={ `ppcp-r-settings-block__todo ppcp-r-todo-items ${ className }` }
>
{ todosData
.slice( 0, 12 )
.slice( 0, 5 )
.filter( ( todo ) => {
return ! todo.isCompleted();
} )