1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-03 10:25:08 +01:00

Use a default shouldRedirect that just always returns true

This commit is contained in:
Brett Sun 2016-01-05 17:28:45 +01:00
parent c4730dbae5
commit 41c9a10c84

View File

@ -53,7 +53,6 @@ let PieceList = React.createClass({
accordionListItemType: AccordionListItemWallet, accordionListItemType: AccordionListItemWallet,
bulkModalButtonListType: AclButtonList, bulkModalButtonListType: AclButtonList,
canLoadPieceList: true, canLoadPieceList: true,
orderParams: ['artist_name', 'title'],
filterParams: [{ filterParams: [{
label: getLangText('Show works I can'), label: getLangText('Show works I can'),
items: [ items: [
@ -61,7 +60,9 @@ let PieceList = React.createClass({
'acl_consign', 'acl_consign',
'acl_create_editions' 'acl_create_editions'
] ]
}] }],
orderParams: ['artist_name', 'title'],
shouldRedirect: () => true
}; };
}, },