Skip to content

Commit

Permalink
hasDelete
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislearn committed Aug 17, 2017
1 parent 2d6cd70 commit e3008b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/widgets/list/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export class List extends Component {
} else if (!this.records || this.records.length === 0) {
node = <CardText>No data!</CardText>
}
const { filters, pagination = <DefaultPagination />, actions = <DefaultActions />, entityName, hasCreate, hasRefresh, title, children } = this.props
const { filters, pagination = <DefaultPagination />, actions = <DefaultActions />, entityName, hasCreate, hasDelete, hasRefresh, title, children } = this.props
const filterValues = this.query.filter
const defaultTitle = `${entityName} List`
if (node == null) {
Expand All @@ -224,6 +224,7 @@ export class List extends Component {
searchValue: this.query.search,
deleteRecords: this.selectedRecords,
hasCreate,
hasDelete,
shownFilters: this.state,
showFilter: this.showFilter,
refresh,
Expand Down

0 comments on commit e3008b7

Please sign in to comment.