Compare commits
7 commits
master
...
sync-user-
Author | SHA1 | Date | |
---|---|---|---|
|
ab4e7ee84d | ||
|
2466d1f0b5 | ||
|
0ddeaf0f27 | ||
|
bd23736c37 | ||
|
2cc4177bbe | ||
|
deb863a94c | ||
|
63655270f2 |
1 changed files with 12 additions and 0 deletions
|
@ -410,6 +410,18 @@ class PublishPage extends React.PureComponent {
|
||||||
this.onComponentFocused();
|
this.onComponentFocused();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (publishFormValues) {
|
||||||
|
if (publishFormValues.thumbnail && !this.state.uploadedThumbnailUri) {
|
||||||
|
const { thumbnail } = publishFormValues;
|
||||||
|
updatePublishFormState({ currentThumbnailUri: thumbnail, uploadedThumbnailUri: thumbnail });
|
||||||
|
this.setState({
|
||||||
|
currentThumbnailUri: thumbnail,
|
||||||
|
uploadedThumbnailUri: thumbnail,
|
||||||
|
uploadThumbnailStarted: false,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
this.state.currentPhase === Constants.PHASE_DETAILS &&
|
this.state.currentPhase === Constants.PHASE_DETAILS &&
|
||||||
prevDrawerStack[prevDrawerStack.length - 1].route === Constants.DRAWER_ROUTE_PUBLISH_FORM &&
|
prevDrawerStack[prevDrawerStack.length - 1].route === Constants.DRAWER_ROUTE_PUBLISH_FORM &&
|
||||||
|
|
Loading…
Reference in a new issue