From 0657e79e4529302abe51444874fbfed19d6d74d7 Mon Sep 17 00:00:00 2001 From: Tal Leibman Date: Sun, 12 Jan 2020 23:30:31 +0200 Subject: [PATCH] widgets: name change "RRuleEteSync" to "RRule" --- src/components/EventEdit.tsx | 5 ++--- src/widgets/RRule.tsx | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/EventEdit.tsx b/src/components/EventEdit.tsx index a49d865..895ed86 100644 --- a/src/components/EventEdit.tsx +++ b/src/components/EventEdit.tsx @@ -33,7 +33,7 @@ import * as EteSync from 'etesync'; import { getCurrentTimezone } from '../helpers'; import { EventType, timezoneLoadFromName } from '../pim-types'; -import RRuleEteSync, { RRuleOptions } from '../widgets/RRule'; +import RRule, { RRuleOptions } from '../widgets/RRule'; interface PropsType { @@ -357,8 +357,7 @@ class EventEdit extends React.PureComponent { label="Recurring" /> - {this.state.rruleOptions && - diff --git a/src/widgets/RRule.tsx b/src/widgets/RRule.tsx index e89de14..902f0a6 100644 --- a/src/widgets/RRule.tsx +++ b/src/widgets/RRule.tsx @@ -104,7 +104,7 @@ const styles = { multiSelect: { minWidth: 120, maxWidth: '100%' }, width: { width: 120 }, }; -export default function RRuleEteSync(props: PropsType) { +export default function RRule(props: PropsType) { const options = props.rrule; function updateRule(newOptions: Partial): void { const updatedOptions = { ...options, ...newOptions };