Contact/event: fix creating items on non-default journals.

Fixes #22
master
Tom Hacohen 6 years ago
parent b09d04dc5c
commit edc662b7c0

@ -341,6 +341,7 @@ class ContactEdit extends React.PureComponent {
Saving to Saving to
</InputLabel> </InputLabel>
<Select <Select
name="journalUid"
value={this.state.journalUid} value={this.state.journalUid}
onChange={this.handleInputChange} onChange={this.handleInputChange}
> >

@ -243,6 +243,7 @@ class EventEdit extends React.PureComponent {
Saving to Saving to
</InputLabel> </InputLabel>
<Select <Select
name="journalUid"
value={this.state.journalUid} value={this.state.journalUid}
disabled={this.props.item !== undefined} disabled={this.props.item !== undefined}
onChange={this.handleInputChange} onChange={this.handleInputChange}

Loading…
Cancel
Save