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
|
locations
|
||||||
} = publishData;
|
} = publishData;
|
||||||
// Handle scenario where we have a claim that has the same name as a channel we are publishing with.
|
// 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;
|
let publishingLicense;
|
||||||
switch (licenseType) {
|
switch (licenseType) {
|
||||||
|
|
|
@ -266,7 +266,7 @@ export const doPublish = (success: Function, fail: Function) => (
|
||||||
locations,
|
locations,
|
||||||
} = publishData;
|
} = publishData;
|
||||||
// Handle scenario where we have a claim that has the same name as a channel we are publishing with.
|
// 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;
|
let publishingLicense;
|
||||||
switch (licenseType) {
|
switch (licenseType) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue