Skip to content

Commit

Permalink
fiddling with order
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed Nov 19, 2024
1 parent 67c3848 commit 5629744
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions packages/block-library/src/query/edit/inspector-controls/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,18 +192,6 @@ export default function QueryInspectorControls( props ) {

return (
<>
{ hasPatterns && (
<PanelBody
title={ __( 'Design' ) }
className="block-library-query-toolspanel__design"
>
<PatternSelection
attributes={ attributes }
clientId={ clientId }
showTitlesAsTooltip
/>
</PanelBody>
) }
{ !! postType && (
<BlockInfo>
<CreateNewPostLink postType={ postType } />
Expand Down Expand Up @@ -442,6 +430,18 @@ export default function QueryInspectorControls( props ) {
) }
</ToolsPanel>
) }
{ hasPatterns && (
<PanelBody
title={ __( 'Design' ) }
className="block-library-query-toolspanel__design"
>
<PatternSelection
attributes={ attributes }
clientId={ clientId }
showTitlesAsTooltip
/>
</PanelBody>
) }
</>
);
}

0 comments on commit 5629744

Please sign in to comment.