diff --git a/editor/components/post-permalink/index.js b/editor/components/post-permalink/index.js index b1ba0dec54c96..e81302a486cdc 100644 --- a/editor/components/post-permalink/index.js +++ b/editor/components/post-permalink/index.js @@ -56,11 +56,11 @@ class PostPermalink extends Component { } render() { - const { isNew, previewLink, isEditable, samplePermalink, isPublished } = this.props; + const { isNew, postLink, isEditable, samplePermalink, isPublished } = this.props; const { isCopied, isEditingPermalink } = this.state; const ariaLabel = isCopied ? __( 'Permalink copied' ) : __( 'Copy the permalink' ); - if ( isNew || ! previewLink ) { + if ( isNew || ! postLink ) { return null; } @@ -80,7 +80,7 @@ class PostPermalink extends Component { { ! isEditingPermalink &&