fix channel > channel edit
This commit is contained in:
parent
5249e46179
commit
e29f26958c
1 changed files with 1 additions and 3 deletions
|
@ -214,9 +214,7 @@ function PublishForm(props: Props) {
|
||||||
const emptyPostError = mode === PUBLISH_MODES.POST && (!fileText || fileText.trim() === '');
|
const emptyPostError = mode === PUBLISH_MODES.POST && (!fileText || fileText.trim() === '');
|
||||||
const formDisabled = (fileFormDisabled && !editingURI) || emptyPostError || publishing;
|
const formDisabled = (fileFormDisabled && !editingURI) || emptyPostError || publishing;
|
||||||
const isInProgress = filePath || editingURI || name || title;
|
const isInProgress = filePath || editingURI || name || title;
|
||||||
const activeChannelName =
|
const activeChannelName = activeChannelClaim && activeChannelClaim.name;
|
||||||
(myClaimForUri && myClaimForUri.signing_channel && myClaimForUri.signing_channel.name) ||
|
|
||||||
(activeChannelClaim && activeChannelClaim.name);
|
|
||||||
// Editing content info
|
// Editing content info
|
||||||
const fileMimeType =
|
const fileMimeType =
|
||||||
myClaimForUri && myClaimForUri.value && myClaimForUri.value.source
|
myClaimForUri && myClaimForUri.value && myClaimForUri.value.source
|
||||||
|
|
Loading…
Reference in a new issue