|
|
@ -1,5 +1,4 @@
|
|
|
|
import * as React from 'react';
|
|
|
|
import * as React from 'react';
|
|
|
|
const Fragment = (React as any).Fragment;
|
|
|
|
|
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import { withRouter } from 'react-router';
|
|
|
|
import { withRouter } from 'react-router';
|
|
|
|
import { Tabs, Tab } from 'material-ui/Tabs';
|
|
|
|
import { Tabs, Tab } from 'material-ui/Tabs';
|
|
|
@ -81,22 +80,20 @@ class JournalView extends React.Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<Fragment>
|
|
|
|
<Tabs>
|
|
|
|
<Tabs>
|
|
|
|
<Tab
|
|
|
|
<Tab
|
|
|
|
label={itemsTitle}
|
|
|
|
label={itemsTitle}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<h2>{collectionInfo.displayName}</h2>
|
|
|
|
<h2>{collectionInfo.displayName}</h2>
|
|
|
|
{itemsView}
|
|
|
|
{itemsView}
|
|
|
|
</Tab>
|
|
|
|
</Tab>
|
|
|
|
<Tab
|
|
|
|
<Tab
|
|
|
|
label="Journal Entries"
|
|
|
|
label="Journal Entries"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<h2>{collectionInfo.displayName}</h2>
|
|
|
|
<h2>{collectionInfo.displayName}</h2>
|
|
|
|
<JournalViewEntries journal={journal} entries={syncEntries} />;
|
|
|
|
<JournalViewEntries journal={journal} entries={syncEntries} />;
|
|
|
|
</Tab>
|
|
|
|
</Tab>
|
|
|
|
</Tabs>
|
|
|
|
</Tabs>
|
|
|
|
|
|
|
|
</Fragment>
|
|
|
|
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|