Merge pull request #411 from lbryio/ip/thumbnail-error
Define default value for 'thumbnailError'
This commit is contained in:
commit
6fc11454eb
2 changed files with 3 additions and 0 deletions
1
dist/bundle.es.js
vendored
1
dist/bundle.es.js
vendored
|
@ -6056,6 +6056,7 @@ const defaultState$4 = {
|
||||||
thumbnail_url: '',
|
thumbnail_url: '',
|
||||||
thumbnailPath: '',
|
thumbnailPath: '',
|
||||||
uploadThumbnailStatus: API_DOWN,
|
uploadThumbnailStatus: API_DOWN,
|
||||||
|
thumbnailError: undefined,
|
||||||
description: '',
|
description: '',
|
||||||
language: '',
|
language: '',
|
||||||
releaseTime: undefined,
|
releaseTime: undefined,
|
||||||
|
|
|
@ -22,6 +22,7 @@ type PublishState = {
|
||||||
thumbnail_url: string,
|
thumbnail_url: string,
|
||||||
thumbnailPath: string,
|
thumbnailPath: string,
|
||||||
uploadThumbnailStatus: string,
|
uploadThumbnailStatus: string,
|
||||||
|
thumbnailError: ?boolean,
|
||||||
description: string,
|
description: string,
|
||||||
language: string,
|
language: string,
|
||||||
releaseTime: ?string,
|
releaseTime: ?string,
|
||||||
|
@ -55,6 +56,7 @@ const defaultState: PublishState = {
|
||||||
thumbnail_url: '',
|
thumbnail_url: '',
|
||||||
thumbnailPath: '',
|
thumbnailPath: '',
|
||||||
uploadThumbnailStatus: THUMBNAIL_STATUSES.API_DOWN,
|
uploadThumbnailStatus: THUMBNAIL_STATUSES.API_DOWN,
|
||||||
|
thumbnailError: undefined,
|
||||||
description: '',
|
description: '',
|
||||||
language: '',
|
language: '',
|
||||||
releaseTime: undefined,
|
releaseTime: undefined,
|
||||||
|
|
Loading…
Reference in a new issue