Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Set maximum items per page of reusable blocks
  • Loading branch information
fluiddot committed Apr 30, 2021
commit 8063dc76fcc0360e5fc5bf056c163c29eaf80629
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function useBlockEditorSettings( settings, hasTemplate ) {
* Unbounded queries are not supported on native so as a workaround, we set per_page with the maximum value that native version can handle.
* Related issue: https://github.com/wordpress-mobile/gutenberg-mobile/issues/2661
*/
{ per_page: Platform.select( { web: -1, native: 10 } ) }
{ per_page: Platform.select( { web: -1, native: 100 } ) }
),
hasUploadPermissions: defaultTo(
canUser( 'create', 'media' ),
Expand Down