Skip to content

Commit

Permalink
List all users, they may have a draft that is not published yet
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Oct 31, 2023
1 parent cb6227a commit 43091f6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/edit-site/src/components/page-pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ export default function PagePages() {
totalPages,
} = useEntityRecords( 'postType', 'page', queryArgs );

const { records: authors } = useEntityRecords( 'root', 'user', {
has_published_posts: [ 'page' ],
} );
const { records: authors } = useEntityRecords( 'root', 'user' );

const paginationInfo = useMemo(
() => ( {
Expand Down

0 comments on commit 43091f6

Please sign in to comment.