Skip to content

Commit 1fed655

Browse files
committed
Render warning component after detail settings
1 parent 510bbcf commit 1fed655

File tree

1 file changed

+1
-1
lines changed
  • projects/packages/videopress/src/client/block-editor/blocks/video/components/details-panel

1 file changed

+1
-1
lines changed

projects/packages/videopress/src/client/block-editor/blocks/video/components/details-panel/index.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ export default function DetailsPanel( { attributes, setAttributes, videoBelongTo
4848

4949
return (
5050
<PanelBody title={ __( 'Details', 'jetpack-videopress-pkg' ) }>
51-
{ ! videoBelongToSite && videoNotOwnedMessage }
5251
<TextControl
5352
value={ title || '' }
5453
onChange={ value => setAttributes( { title: value } ) }
@@ -63,6 +62,7 @@ export default function DetailsPanel( { attributes, setAttributes, videoBelongTo
6362
label={ __( 'Description', 'jetpack-videopress-pkg' ) }
6463
disabled={ ! videoBelongToSite }
6564
/>
65+
{ ! videoBelongToSite && videoNotOwnedMessage }
6666
</PanelBody>
6767
);
6868
}

0 commit comments

Comments
 (0)