fix thumbnails disabling publish #7714

Merged
jessopb merged 1 commit from fix-disabledPublishFromThumb into master 2022-11-03 20:55:47 +01:00
2 changed files with 1 additions and 2 deletions

View file

@ -208,7 +208,6 @@ function PublishForm(props: Props) {
isNameValid(name) &&
title &&
bid &&
thumbnail &&
!bidError &&
!emptyPostError &&
!(thumbnailError && !thumbnailUploaded) &&

View file

@ -106,7 +106,7 @@ function SelectThumbnail(props: Props) {
__('This will be visible in a few minutes after you submit this form.')}
<img
style={{ display: 'none' }}
src={thumbnail}
src={thumbnail || ThumbnailMissingImage}
alt={__('Thumbnail Preview')}
onError={() => {
if (updateThumbnailParams) {