Use PropTypesResourceModel in CollectionView
authorFrank Bessou <frank.bessou@logilab.fr>
Tue, 02 May 2017 17:47:15 +0200
changeset 168 10d89202f063
parent 167 5837c0eda60c
child 169 714955dfe4c4
Use PropTypesResourceModel in CollectionView
src/components/BaseViews.js
--- a/src/components/BaseViews.js	Tue May 02 15:31:47 2017 +0200
+++ b/src/components/BaseViews.js	Tue May 02 17:47:15 2017 +0200
@@ -2,7 +2,7 @@
 import {PropTypes} from 'prop-types';
 import {Link} from 'react-router-dom';
 import {isEmpty} from 'lodash/lang';
-import {PropTypeAction, PropTypesEntitiesModel, PropTypesResourceModel} from '../model';
+import {PropTypeAction, PropTypesResourceModel} from '../model';
 import {PropTypeJsonaryWrapper} from '../jsonaryutils';
 import {appendPath} from '../utils';
 
@@ -36,7 +36,7 @@
 }
 
 CollectionView.propTypes = {
-    entities: PropTypesEntitiesModel.isRequired,
+    entities: PropTypesResourceModel.isRequired,
 };
 
 export function ActionsDropDown({target, ignore=[]}) {