0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Merge pull request #1338 from G-Ambatte/includeTitleInNew

Update to include brew title, description, systems, etc. on the new page
This commit is contained in:
Trevor Buckner
2021-05-02 20:12:33 -04:00
committed by GitHub

View File

@@ -43,14 +43,14 @@ const NewPage = createClass({
getInitialState : function() {
return {
brew : {
text : this.props.brew.text,
text : this.props.brew.text || '',
gDrive : false,
title : '',
description : '',
tags : '',
title : this.props.brew.title || '',
description : this.props.brew.description || '',
tags : this.props.brew.tags || '',
published : false,
authors : [],
systems : []
systems : this.props.brew.systems || []
},
isSaving : false,