Merge pull request #1864 from lbryio/publish-patch
Fix: Don't show editing mode on publish after clearing cache
This commit is contained in:
commit
58a3740986
1 changed files with 4 additions and 0 deletions
|
@ -48,6 +48,10 @@ export const selectPendingPublish = uri =>
|
||||||
export const selectIsStillEditing = createSelector(selectPublishFormValues, publishState => {
|
export const selectIsStillEditing = createSelector(selectPublishFormValues, publishState => {
|
||||||
const { editingURI, uri } = publishState;
|
const { editingURI, uri } = publishState;
|
||||||
|
|
||||||
|
if (!editingURI || !uri) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
const {
|
const {
|
||||||
isChannel: currentIsChannel,
|
isChannel: currentIsChannel,
|
||||||
claimName: currentClaimName,
|
claimName: currentClaimName,
|
||||||
|
|
Loading…
Reference in a new issue