mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-03 11:40:44 +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);
|
super(props);
|
||||||
this.state = {
|
this.state = {
|
||||||
currentText: '',
|
currentText: '',
|
||||||
chips: props.draftChips || [' '],
|
chips: [' '],
|
||||||
chipsCount: props.chipsCount || 5,
|
chipsCount: props.chipsCount || 5,
|
||||||
activeChip: 0,
|
activeChip: 0,
|
||||||
};
|
};
|
||||||
|
@ -176,7 +176,7 @@ class EditorScreen extends Component {
|
|||||||
{!isReply && <TitleArea value={fields.title} componentID="title" intl={intl} />}
|
{!isReply && <TitleArea value={fields.title} componentID="title" intl={intl} />}
|
||||||
{!isReply && (
|
{!isReply && (
|
||||||
<TagArea
|
<TagArea
|
||||||
draftChips={fields.tags}
|
draftChips={fields.tags && fields.tags > 0 && fields.tags}
|
||||||
componentID="tag-area"
|
componentID="tag-area"
|
||||||
handleTagChanged={this._handleOnTagAdded}
|
handleTagChanged={this._handleOnTagAdded}
|
||||||
intl={intl}
|
intl={intl}
|
||||||
|
Loading…
Reference in New Issue
Block a user