Update title to make it clear bike is stolen.

This commit is contained in:
Drew Larson
2017-05-23 19:27:57 -06:00
parent 6aa7614a8b
commit 152b268d52
@@ -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}