fix tags for edit
This commit is contained in:
parent
2f0014be08
commit
39eb2b1a96
1 changed files with 1 additions and 1 deletions
|
@ -527,7 +527,7 @@ export default class ChannelCreator extends React.PureComponent {
|
||||||
description: value ? value.description : null,
|
description: value ? value.description : null,
|
||||||
email: value ? value.email : null,
|
email: value ? value.email : null,
|
||||||
website: value ? value.website_url : null,
|
website: value ? value.website_url : null,
|
||||||
tags: value ? value.tags : [],
|
tags: value && value.tags ? value.tags : [],
|
||||||
thumbnailUrl: value && value.thumbnail ? value.thumbnail.url : null,
|
thumbnailUrl: value && value.thumbnail ? value.thumbnail.url : null,
|
||||||
showOptionalFields: value && (value.description || value.email || value.website_url || value.tags),
|
showOptionalFields: value && (value.description || value.email || value.website_url || value.tags),
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue