not editing if publish uris are undefined
This commit is contained in:
parent
e8aa67bf7e
commit
f6137c3647
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