Fixed wrong object assign issue

This commit is contained in:
Mustafa Buyukcelebi 2019-01-21 12:48:05 +03:00
parent f267e8da6b
commit 88f04df30b

View File

@ -404,7 +404,7 @@ class EditorContainer extends Component {
}
const meta = extractMetadata(fields.body);
const metadata = Object.assign({}, meta, oldMeta);
const metadata = Object.assign({}, oldMeta, meta);
const jsonMeta = makeJsonMetadata(metadata, fields.tags);
await postContent(