0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +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() {
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,