diff --git a/js/components/piece_list.js b/js/components/piece_list.js index dd8ee91e..7ecbd0f0 100644 --- a/js/components/piece_list.js +++ b/js/components/piece_list.js @@ -52,10 +52,6 @@ let PieceList = React.createClass({ key: 'acl_create_editions', label: 'create editions' }] - }, - { - label: getLangText('Show works I have'), - items: ['acl_loaned'] }] }; }, diff --git a/js/components/whitelabel/wallet/components/cyland/cyland_piece_list.js b/js/components/whitelabel/wallet/components/cyland/cyland_piece_list.js index 018a3e55..3b1c70c0 100644 --- a/js/components/whitelabel/wallet/components/cyland/cyland_piece_list.js +++ b/js/components/whitelabel/wallet/components/cyland/cyland_piece_list.js @@ -8,6 +8,8 @@ import UserStore from '../../../../../stores/user_store'; import CylandAccordionListItem from './ascribe_accordion_list/cyland_accordion_list_item'; +import { getLangText } from '../../../../../utils/lang_utils'; + let CylandPieceList = React.createClass({ getInitialState() { @@ -33,6 +35,13 @@ let CylandPieceList = React.createClass({ ); diff --git a/js/components/whitelabel/wallet/components/ikonotv/ikonotv_piece_list.js b/js/components/whitelabel/wallet/components/ikonotv/ikonotv_piece_list.js index 4c8766e4..33478fbf 100644 --- a/js/components/whitelabel/wallet/components/ikonotv/ikonotv_piece_list.js +++ b/js/components/whitelabel/wallet/components/ikonotv/ikonotv_piece_list.js @@ -8,6 +8,9 @@ import UserStore from '../../../../../stores/user_store'; import IkonotvAccordionListItem from './ascribe_accordion_list/ikonotv_accordion_list_item'; +import { getLangText } from '../../../../../utils/lang_utils'; + + let IkonotvPieceList = React.createClass({ getInitialState() { return UserStore.getState(); @@ -32,7 +35,13 @@ let IkonotvPieceList = React.createClass({ + filterParams={[{ + label: getLangText('Show works I have'), + items: [{ + key: 'acl_loaned', + label: getLangText('loaned to IkonoTV') + }] + }]}/> ); }