Fix empty tags modif. (#2882)
This commit is contained in:
parent
436b7c213d
commit
0441babb5f
@ -137,7 +137,7 @@ export default class EditMeta extends Component {
|
||||
|
||||
onTagsInputChange = (value) => {
|
||||
const { meta } = this.state;
|
||||
const { tags } = meta || [];
|
||||
const { tags = [] } = meta;
|
||||
|
||||
const tokens = value.split(/[\s,;]+/);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user