fix publishing
This commit is contained in:
parent
24c6dc1177
commit
f0891dd298
2 changed files with 2 additions and 2 deletions
2
dist/bundle.es.js
vendored
2
dist/bundle.es.js
vendored
|
@ -3749,7 +3749,7 @@ const doPublish = (success, fail) => (dispatch, getState) => {
|
|||
locations
|
||||
} = publishData;
|
||||
// Handle scenario where we have a claim that has the same name as a channel we are publishing with.
|
||||
const myClaimForUriEditing = myClaimForUri.name === name ? myClaimForUri : null;
|
||||
const myClaimForUriEditing = myClaimForUri && myClaimForUri.name === name ? myClaimForUri : null;
|
||||
|
||||
let publishingLicense;
|
||||
switch (licenseType) {
|
||||
|
|
|
@ -266,7 +266,7 @@ export const doPublish = (success: Function, fail: Function) => (
|
|||
locations,
|
||||
} = publishData;
|
||||
// Handle scenario where we have a claim that has the same name as a channel we are publishing with.
|
||||
const myClaimForUriEditing = myClaimForUri.name === name ? myClaimForUri : null;
|
||||
const myClaimForUriEditing = myClaimForUri && myClaimForUri.name === name ? myClaimForUri : null;
|
||||
|
||||
let publishingLicense;
|
||||
switch (licenseType) {
|
||||
|
|
Loading…
Reference in a new issue