diff --git a/src/renderer/component/publishForm/view.jsx b/src/renderer/component/publishForm/view.jsx index dec69e685..5fa4f9a25 100644 --- a/src/renderer/component/publishForm/view.jsx +++ b/src/renderer/component/publishForm/view.jsx @@ -254,10 +254,11 @@ class PublishForm extends React.PureComponent { editingURI, isStillEditing, filePath, + uploadThumbnailStatus, } = this.props; // If they are editing, they don't need a new file chosen - const formValidLessFile = name && !nameError && title && bid && !bidError && tosAccepted; + const formValidLessFile = name && !nameError && title && bid && !bidError && tosAccepted && !(uploadThumbnailStatus === THUMBNAIL_STATUSES.IN_PROGRESS); return editingURI && !filePath ? isStillEditing && formValidLessFile : formValidLessFile; } @@ -272,6 +273,7 @@ class PublishForm extends React.PureComponent { editingURI, filePath, isStillEditing, + uploadThumbnailStatus, } = this.props; const isFormValid = this.checkIsFormValid(); @@ -286,6 +288,8 @@ class PublishForm extends React.PureComponent { {name && nameError &&
{__('The URL you created is not valid')}
} {!bid &&
{__('A bid amount is required')}
} {!!bid && bidError &&
{bidError}
} + {uploadThumbnailStatus === THUMBNAIL_STATUSES.IN_PROGRESS + &&
{__('Please wait for thumbnail to finish uploading')}
} {!tosAccepted &&
{__('You must agree to the terms of service')}
} {!!editingURI && !isStillEditing &&