Skip to content

Commit

Permalink
Remove messaging that suggests contacting administrator for users wit…
Browse files Browse the repository at this point in the history
…hout permissions. (#23948)
  • Loading branch information
StevenDufresne authored Jul 15, 2020
1 parent 232cb85 commit b8befd2
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,10 @@ function DownloadableBlocksPanel( {
debouncedSpeak,
} ) {
if ( false === hasPermission ) {
debouncedSpeak(
__(
'No blocks found in your library. Please contact your site administrator to install new blocks.'
)
);
debouncedSpeak( __( 'No blocks found in your library.' ) );
return (
<p className="block-directory-downloadable-blocks-panel__description has-no-results">
{ __( 'No blocks found in your library.' ) }
<br />
{ __(
'Please contact your site administrator to install new blocks.'
) }
</p>
);
}
Expand Down

0 comments on commit b8befd2

Please sign in to comment.