components: EventEdit removed whitespace changes

master
Tal Leibman 5 years ago committed by Tom Hacohen
parent 0661190aef
commit 3897d38fb0

@ -57,6 +57,7 @@ class EventEdit extends React.PureComponent<PropsType> {
location: string; location: string;
description: string; description: string;
journalUid: string; journalUid: string;
rrule?: RRuleOptions; rrule?: RRuleOptions;
error?: string; error?: string;
showDeleteDialog: boolean; showDeleteDialog: boolean;
@ -71,6 +72,7 @@ class EventEdit extends React.PureComponent<PropsType> {
location: '', location: '',
description: '', description: '',
timezone: null, timezone: null,
journalUid: '', journalUid: '',
showDeleteDialog: false, showDeleteDialog: false,
}; };
@ -203,6 +205,7 @@ class EventEdit extends React.PureComponent<PropsType> {
: :
new EventType() new EventType()
; ;
event.uid = this.state.uid; event.uid = this.state.uid;
event.summary = this.state.title; event.summary = this.state.title;
event.startDate = startDate; event.startDate = startDate;
@ -404,7 +407,6 @@ class EventEdit extends React.PureComponent<PropsType> {
</div> </div>
</form> </form>
<ConfirmationDialog <ConfirmationDialog
title="Delete Confirmation" title="Delete Confirmation"
labelOk="Delete" labelOk="Delete"

Loading…
Cancel
Save