0
0
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:
G.Ambatte
2021-05-01 14:38:54 +12:00
parent e0a25ea918
commit 2ba10655a8

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,