1
0
mirror of https://github.com/fspc/workstand.git synced 2025-02-23 09:13:23 -05:00

Update title to make it clear bike is stolen.

This commit is contained in:
Drew Larson 2017-01-29 15:07:41 -06:00
parent 6aa7614a8b
commit 152b268d52

View File

@ -43,9 +43,16 @@ export default class BikeModal extends React.Component {
/>,
];
const title = this.state.bike && this.state.bike.stolen ?
(<div>
<h3>Edit Bike</h3>
<h4>STOLEN</h4>
</div>) :
<h3>Edit Bike</h3>;
return (<div>
<Dialog
title="Edit Bike"
title={title}
actions={actions}
modal
open={this.state.open}