Merge branch 'react-pr' into dashboard-link

This commit is contained in:
Andrey Okonetchnikov
2016-09-13 18:52:48 +02:00
10 changed files with 123 additions and 67 deletions

View File

@ -6,6 +6,7 @@ import { selectUnpublishedEntries } from '../../reducers';
import { EDITORIAL_WORKFLOW, status } from '../../constants/publishModes';
import UnpublishedListing from '../../components/UnpublishedListing';
import { connect } from 'react-redux';
import styles from '../CollectionPage.css';
export default function CollectionPageHOC(CollectionPage) {
class CollectionPageHOC extends CollectionPage {
@ -23,7 +24,7 @@ export default function CollectionPageHOC(CollectionPage) {
if (!isEditorialWorkflow) return super.render();
return (
<div>
<div className={styles.alignable}>
<UnpublishedListing entries={unpublishedEntries}/>
{super.render()}
</div>