Skip to content
Merged
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
Try fetching all the pages
  • Loading branch information
tellthemachines committed May 29, 2023
commit 75e287fe27759b1a2490c7f1b2fadb22c7916637
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ export default function SidebarNavigationScreenPages() {
const { records: pages, isResolving: isLoadingPages } = useEntityRecords(
'postType',
'page',
{ status: 'any' }
{
status: 'any',
per_page: -1,
}
);

const { records: templates, isResolving: isLoadingTemplates } =
useEntityRecords( 'postType', 'wp_template', {
per_page: -1,
Expand Down