mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-03 17:02:40 +00:00
Update to include brew title, description, systems, etc. on the new page
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user