Skip to content

Commit

Permalink
Remove custom getValue from status field
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Aug 12, 2024
1 parent 1379f9d commit 86d1571
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/edit-site/src/components/post-fields/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,6 @@ function usePostFields( viewType ) {
label: __( 'Status' ),
id: 'status',
type: 'text',
getValue: ( { item } ) =>
STATUSES.find( ( { value } ) => value === item.status )
?.label ?? item.status,
elements: STATUSES,
render: PostStatusField,
enableSorting: false,
Expand Down

0 comments on commit 86d1571

Please sign in to comment.