|
|
@ -1,17 +1,10 @@
|
|
|
|
import * as React from 'react';
|
|
|
|
import * as React from 'react';
|
|
|
|
|
|
|
|
|
|
|
|
import { Link } from 'react-router-dom';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import IconButton from '@material-ui/core/IconButton';
|
|
|
|
|
|
|
|
import IconAdd from '@material-ui/icons/Add';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import { List, ListItem } from '../widgets/List';
|
|
|
|
import { List, ListItem } from '../widgets/List';
|
|
|
|
|
|
|
|
|
|
|
|
import AppBarOverride from '../widgets/AppBarOverride';
|
|
|
|
import AppBarOverride from '../widgets/AppBarOverride';
|
|
|
|
import Container from '../widgets/Container';
|
|
|
|
import Container from '../widgets/Container';
|
|
|
|
|
|
|
|
|
|
|
|
import { routeResolver } from '../App';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import { JournalsData, UserInfoData, CredentialsData } from '../store';
|
|
|
|
import { JournalsData, UserInfoData, CredentialsData } from '../store';
|
|
|
|
import ImportDialog from './ImportDialog';
|
|
|
|
import ImportDialog from './ImportDialog';
|
|
|
|
import { SyncInfo, SyncInfoJournal } from '../SyncGate';
|
|
|
|
import { SyncInfo, SyncInfoJournal } from '../SyncGate';
|
|
|
@ -48,17 +41,8 @@ export default function JournalsList(props: PropsType) {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
|
|
|
|
|
|
|
|
<Container>
|
|
|
|
<Container>
|
|
|
|
<AppBarOverride title="Journals Import">
|
|
|
|
<AppBarOverride title="Journals Import" />
|
|
|
|
<IconButton
|
|
|
|
|
|
|
|
component={Link}
|
|
|
|
|
|
|
|
title="New"
|
|
|
|
|
|
|
|
{...{ to: routeResolver.getRoute('journals.new') }}
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<IconAdd />
|
|
|
|
|
|
|
|
</IconButton>
|
|
|
|
|
|
|
|
</AppBarOverride>
|
|
|
|
|
|
|
|
<List>
|
|
|
|
<List>
|
|
|
|
<ListItem
|
|
|
|
<ListItem
|
|
|
|
primaryText="Address Books"
|
|
|
|
primaryText="Address Books"
|
|
|
|