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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user