0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-25 20:33:51 +00:00

Fix for Issue #1438 - style data not cloning to /new

This commit is contained in:
G.Ambatte
2021-07-25 16:39:29 +12:00
parent 3948e17da2
commit 9f8a857cef

View File

@@ -26,6 +26,7 @@ const NewPage = createClass({
return {
brew : {
text : '',
style : undefined,
shareId : null,
editId : null,
createdAt : null,
@@ -46,6 +47,7 @@ const NewPage = createClass({
return {
brew : {
text : this.props.brew.text || '',
style : this.props.brew.style || undefined,
gDrive : false,
title : this.props.brew.title || '',
description : this.props.brew.description || '',