diff --git a/src/components/EventEdit.tsx b/src/components/EventEdit.tsx index 895ed86..b863aed 100644 --- a/src/components/EventEdit.tsx +++ b/src/components/EventEdit.tsx @@ -245,9 +245,7 @@ class EventEdit extends React.PureComponent { }, }; - if (this.props.item && this.props.item.isRecurring()) { - console.log(1); - } + const recurring = this.props.item && this.props.item.isRecurring(); const differentTimezone = this.state.timezone && (this.state.timezone !== getCurrentTimezone()) && timezoneLoadFromName(this.state.timezone); @@ -256,6 +254,13 @@ class EventEdit extends React.PureComponent {

{this.props.item ? 'Edit Event' : 'New Event'}

+ {recurring && ( +
+ IMPORTANT: + This is a recurring event, for now, only editing the whole series + (by editing the first instance) is supported. +
+ )} {this.state.error && (
ERROR! {this.state.error}
)}