1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-26 02:51:28 +00:00

Package version is now loaded into the navbar

This commit is contained in:
Scott Tolksdorf
2016-08-20 12:02:48 -04:00
parent cd454e82ef
commit 62d70022e7
9 changed files with 51 additions and 25 deletions

View File

@@ -27,6 +27,7 @@ const SAVE_TIMEOUT = 3000;
var EditPage = React.createClass({
getDefaultProps: function() {
return {
ver : '0.0.0',
id : null,
brew : {
title : '',
@@ -170,7 +171,7 @@ var EditPage = React.createClass({
}
},
renderNavbar : function(){
return <Navbar>
return <Navbar ver={this.props.ver}>
<Nav.section>
<EditTitle title={this.state.title} onChange={this.handleTitleChange} />
</Nav.section>