Merge pull request #1864 from lbryio/publish-patch

Fix: Don't show editing mode on publish after clearing cache
This commit is contained in:
Shawn K 2018-08-10 08:03:53 -05:00 committed by GitHub
commit 58a3740986
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,6 +48,10 @@ export const selectPendingPublish = uri =>
export const selectIsStillEditing = createSelector(selectPublishFormValues, publishState => {
const { editingURI, uri } = publishState;
if (!editingURI || !uri) {
return false;
}
const {
isChannel: currentIsChannel,
claimName: currentClaimName,