|
|
@ -1,5 +1,5 @@
|
|
|
|
import * as React from 'react';
|
|
|
|
import * as React from 'react';
|
|
|
|
import { Switch, Route } from 'react-router';
|
|
|
|
import { Switch, Route, Redirect } from 'react-router';
|
|
|
|
|
|
|
|
|
|
|
|
import { JournalList } from './JournalList';
|
|
|
|
import { JournalList } from './JournalList';
|
|
|
|
import { JournalView } from './JournalView';
|
|
|
|
import { JournalView } from './JournalView';
|
|
|
@ -121,6 +121,11 @@ export class EteSyncContext extends React.Component {
|
|
|
|
<Route
|
|
|
|
<Route
|
|
|
|
path={routeResolver.getRoute('home')}
|
|
|
|
path={routeResolver.getRoute('home')}
|
|
|
|
exact={true}
|
|
|
|
exact={true}
|
|
|
|
|
|
|
|
render={() => <Redirect to={routeResolver.getRoute('journals')} />}
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<Route
|
|
|
|
|
|
|
|
path={routeResolver.getRoute('journals')}
|
|
|
|
|
|
|
|
exact={true}
|
|
|
|
render={() => <JournalList etesync={context} />}
|
|
|
|
render={() => <JournalList etesync={context} />}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<Route
|
|
|
|
<Route
|
|
|
|