From 7148bab2bbcb1f754370025e8afbe9f5b806b0ba Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Fri, 1 Feb 2019 02:17:23 -0500 Subject: [PATCH] fix: missing spee.ch error Also, decided to reset the publish status. Unless wee for sure know it's a spee.ch issue, we should let them upload again (what If i selected an mp4 or other unsupported type?) They can still manually choose the manual URL method. --- CHANGELOG.md | 1 + src/renderer/redux/actions/publish.js | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c285b1643..9a5e8bbcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixed +- Error message when thumbupload failed([#2254](https://github.com/lbryio/lbry-desktop/pull/2254)) - Flow errors ([#2213](https://github.com/lbryio/lbry-desktop/pull/2213)) - Video position on previously viewed files ([#2240](https://github.com/lbryio/lbry-desktop/pull/2240)) diff --git a/src/renderer/redux/actions/publish.js b/src/renderer/redux/actions/publish.js index ffa061f00..0d64cbcc3 100644 --- a/src/renderer/redux/actions/publish.js +++ b/src/renderer/redux/actions/publish.js @@ -97,9 +97,13 @@ export const doUploadThumbnail = (filePath: string, nsfw: boolean) => ( batchActions( { type: ACTIONS.UPDATE_PUBLISH_FORM, - data: { uploadThumbnailStatus: THUMBNAIL_STATUSES.API_DOWN }, + data: { + uploadThumbnailStatus: THUMBNAIL_STATUSES.READY, + thumbnail: '', + nsfw: false, + }, }, - doError(MODALS.ERROR, { error }) + doError(error) ) );