0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 20:42:44 +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() { getInitialState : function() {
return { return {
brew : { brew : {
text : this.props.brew.text, text : this.props.brew.text || '',
gDrive : false, gDrive : false,
title : '', title : this.props.brew.title || '',
description : '', description : this.props.brew.description || '',
tags : '', tags : this.props.brew.tags || '',
published : false, published : false,
authors : [], authors : [],
systems : [] systems : this.props.brew.systems || []
}, },
isSaving : false, isSaving : false,