|
|
@ -32,6 +32,7 @@ class Pim extends React.Component {
|
|
|
|
journals: JournalsData;
|
|
|
|
journals: JournalsData;
|
|
|
|
entries: EntriesType;
|
|
|
|
entries: EntriesType;
|
|
|
|
match: any;
|
|
|
|
match: any;
|
|
|
|
|
|
|
|
history: any;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
constructor(props: any) {
|
|
|
|
constructor(props: any) {
|
|
|
@ -52,7 +53,10 @@ class Pim extends React.Component {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
store.dispatch(createJournalEntry(this.props.etesync, journal, entries.value, event.toIcal()));
|
|
|
|
let saveEvent = store.dispatch(createJournalEntry(this.props.etesync, journal, entries.value, event.toIcal()));
|
|
|
|
|
|
|
|
(saveEvent as any).then(() => {
|
|
|
|
|
|
|
|
this.props.history.goBack();
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
render() {
|
|
|
|