EventEdit: allow changing calendar when duplicating event

master
Ramzan 4 years ago committed by Tom Hacohen
parent 8d15a66e98
commit bd649a61cc

@ -295,7 +295,7 @@ export default class EventEdit extends React.PureComponent<PropsType> {
<Select <Select
name="collectionUid" name="collectionUid"
value={this.state.collectionUid} value={this.state.collectionUid}
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