Skip to content

Commit

Permalink
Fix: Extend condition to check if Featured Image is active in Cover b…
Browse files Browse the repository at this point in the history
…lock
  • Loading branch information
pranvinit committed Feb 13, 2025
1 parent ca9e2b7 commit fa703e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export default function CoverInspectorControls( {
return (
<>
<InspectorControls>
{ ( !! url || isSiteEditor ) && (
{ ( !! url || ( useFeaturedImage && isSiteEditor ) ) && (
<ToolsPanel
label={ __( 'Settings' ) }
resetAll={ () => {
Expand Down

0 comments on commit fa703e1

Please sign in to comment.