Skip to content

Commit 3a310c4

Browse files
t-hamanoakasunilMamadukaramonjd
authored
Site Logo Block: Fix non-admin users seeing zero character (#65010)
Co-authored-by: t-hamano <[email protected]> Co-authored-by: akasunil <[email protected]> Co-authored-by: Mamaduka <[email protected]> Co-authored-by: ramonjd <[email protected]>
1 parent 661d629 commit 3a310c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/block-library/src/site-logo/edit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ export default function LogoEdit( {
423423
context: 'view',
424424
} );
425425
const _isRequestingMediaItem =
426-
_siteLogoId &&
426+
!! _siteLogoId &&
427427
! select( coreStore ).hasFinishedResolution( 'getMedia', [
428428
_siteLogoId,
429429
{ context: 'view' },

0 commit comments

Comments
 (0)