EventEdit: allow changing calendar when duplicating event

master
Ramzan 4 years ago committed by Tom Hacohen
parent 593e30ad77
commit 109013e9ec

@ -300,7 +300,7 @@ class EventEdit extends React.PureComponent<PropsType> {
<Select <Select
name="journalUid" name="journalUid"
value={this.state.journalUid} value={this.state.journalUid}
disabled={this.props.item !== undefined} disabled={this.props.item !== undefined && !this.props.duplicate}
onChange={this.handleInputChange} onChange={this.handleInputChange}
> >
{this.props.collections.map((x) => ( {this.props.collections.map((x) => (

Loading…
Cancel
Save