0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 13:22:40 +00:00

remove migration in favor of as-edited approach

This commit is contained in:
Charlie Humphreys
2022-06-25 00:43:47 -05:00
parent 8ee832e633
commit c7cfa86205
5 changed files with 6 additions and 24 deletions

View File

@@ -299,7 +299,10 @@ const Editor = createClass({
style={{ display: 'none' }}
rerenderParent={this.rerenderParent} />
<MetadataEditor
metadata={this.props.brew}
metadata={({
...this.props.brew,
tags : typeof this.props.brew.tags === 'string' ? [] : this.props.brew.tags
})}
onChange={this.props.onMetaChange} />
</>;
}