mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
I believe the rest of the GUI is setting 'thumbnail'. 'thumbnail_url' is only populated right before publishing. So, the flag was always false -- we just never see the error on screen because the component is incorrectly hidden (fix for this is coming up next...)
16 lines
706 B
JavaScript
16 lines
706 B
JavaScript
import { connect } from 'react-redux';
|
|
import { makeSelectPublishFormValue, selectIsStillEditing } from 'lbry-redux';
|
|
import PublishPage from './view';
|
|
|
|
const select = (state) => ({
|
|
bid: makeSelectPublishFormValue('bid')(state),
|
|
name: makeSelectPublishFormValue('name')(state),
|
|
title: makeSelectPublishFormValue('title')(state),
|
|
bidError: makeSelectPublishFormValue('bidError')(state),
|
|
editingURI: makeSelectPublishFormValue('editingURI')(state),
|
|
uploadThumbnailStatus: makeSelectPublishFormValue('uploadThumbnailStatus')(state),
|
|
thumbnail: makeSelectPublishFormValue('thumbnail')(state),
|
|
isStillEditing: selectIsStillEditing(state),
|
|
});
|
|
|
|
export default connect(select, null)(PublishPage);
|