Skip to content

Commit

Permalink
Feedback updates
Browse files Browse the repository at this point in the history
  • Loading branch information
karthick-murugan committed Jan 14, 2025
1 parent 0fb88b9 commit 2679c19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/query-title/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default function QueryTitleEdit( {
dropdownMenuProps={ dropdownMenuProps }
>
<ToolsPanelItem
hasValue={ () => showPrefix === false }
hasValue={ () => ! showPrefix }
label={ __( 'Show archive type in title' ) }
onDeselect={ () =>
setAttributes( { showPrefix: true } )
Expand Down Expand Up @@ -143,7 +143,7 @@ export default function QueryTitleEdit( {
}
>
<ToolsPanelItem
hasValue={ () => showSearchTerm === false }
hasValue={ () => ! showSearchTerm }
label={ __( 'Show search term in title' ) }
onDeselect={ () =>
setAttributes( { showSearchTerm: true } )
Expand Down

0 comments on commit 2679c19

Please sign in to comment.