Don't push empty tags to input (#3222)
This commit is contained in:
parent
44266115b6
commit
a4cc6058dd
@ -99,11 +99,10 @@ export default class EditMeta extends Component {
|
||||
|
||||
renderTags () {
|
||||
const { meta } = this.state;
|
||||
const { tags } = meta || [];
|
||||
|
||||
return (
|
||||
<InputChip
|
||||
tokens={ tags }
|
||||
tokens={ meta.tags || [] }
|
||||
onTokensChange={ this.onTagsChange }
|
||||
label='(optional) tags'
|
||||
hint='press <Enter> to add a tag'
|
||||
|
Loading…
Reference in New Issue
Block a user