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:
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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user