|
|
@ -33,7 +33,7 @@ import * as EteSync from 'etesync';
|
|
|
|
import { getCurrentTimezone } from '../helpers';
|
|
|
|
import { getCurrentTimezone } from '../helpers';
|
|
|
|
|
|
|
|
|
|
|
|
import { EventType, timezoneLoadFromName } from '../pim-types';
|
|
|
|
import { EventType, timezoneLoadFromName } from '../pim-types';
|
|
|
|
import RRuleEteSync, { RRuleOptions } from '../widgets/RRule';
|
|
|
|
import RRule, { RRuleOptions } from '../widgets/RRule';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
interface PropsType {
|
|
|
|
interface PropsType {
|
|
|
@ -357,8 +357,7 @@ class EventEdit extends React.PureComponent<PropsType> {
|
|
|
|
label="Recurring"
|
|
|
|
label="Recurring"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</FormGroup>
|
|
|
|
</FormGroup>
|
|
|
|
{this.state.rruleOptions &&
|
|
|
|
<RRule
|
|
|
|
<RRuleEteSync
|
|
|
|
|
|
|
|
onChange={this.handleRRuleChange}
|
|
|
|
onChange={this.handleRRuleChange}
|
|
|
|
rrule={this.state.rruleOptions ? this.state.rruleOptions : { freq: 'DAILY', interval: 1 }}
|
|
|
|
rrule={this.state.rruleOptions ? this.state.rruleOptions : { freq: 'DAILY', interval: 1 }}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|