fixed draft save to realm

This commit is contained in:
u-e 2019-01-14 15:05:01 +03:00
parent ada873ffe8
commit a26781c35e

View File

@ -273,7 +273,7 @@ class EditorContainer extends Component {
const draftField = {
...fields,
tags: fields.tags && fields.tags.length > 0 && fields.tags.toString(),
tags: fields.tags && fields.tags.length > 0 ? fields.tags.toString() : "",
};
setDraftPost(draftField, username);