fix channel > channel edit

This commit is contained in:
Thomas Zarebczan 2022-04-21 14:57:48 -04:00
parent 5249e46179
commit e29f26958c
No known key found for this signature in database
GPG key ID: 767B41E1BB7346F2

View file

@ -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