mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-02 11:15:35 +03:00
fixed tags
This commit is contained in:
parent
11aee5d4de
commit
949150ee90
@ -18,7 +18,7 @@ export default class TagAreaView extends Component {
|
||||
super(props);
|
||||
this.state = {
|
||||
currentText: '',
|
||||
chips: props.draftChips || [' '],
|
||||
chips: [' '],
|
||||
chipsCount: props.chipsCount || 5,
|
||||
activeChip: 0,
|
||||
};
|
||||
|
@ -176,7 +176,7 @@ class EditorScreen extends Component {
|
||||
{!isReply && <TitleArea value={fields.title} componentID="title" intl={intl} />}
|
||||
{!isReply && (
|
||||
<TagArea
|
||||
draftChips={fields.tags}
|
||||
draftChips={fields.tags && fields.tags > 0 && fields.tags}
|
||||
componentID="tag-area"
|
||||
handleTagChanged={this._handleOnTagAdded}
|
||||
intl={intl}
|
||||
|
Loading…
Reference in New Issue
Block a user