mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Add custom loan button to edition container
This commit is contained in:
parent
3230b0d8c0
commit
f4e1b1d796
@ -0,0 +1,22 @@
|
||||
'use strict';
|
||||
|
||||
import React from 'react';
|
||||
|
||||
import BokkAclButtonList from './bokk_acl_button_list';
|
||||
|
||||
import EditionContainer from '../../../../ascribe_detail/edition_container';
|
||||
|
||||
|
||||
let BokkEditionContainer = React.createClass({
|
||||
propTypes: EditionContainer.propTypes,
|
||||
|
||||
render() {
|
||||
return (
|
||||
<EditionContainer
|
||||
{...this.props}
|
||||
actionPanelButtonListType={BokkAclButtonList} />
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
export default BokkEditionContainer;
|
@ -23,6 +23,7 @@ import CCRegisterPiece from './components/cc/cc_register_piece';
|
||||
|
||||
import BokkRegisterPiece from './components/bokk/bokk_register_piece';
|
||||
import BokkPieceList from './components/bokk/bokk_piece_list';
|
||||
import BokkEditionContainer from './components/bokk/bokk_edition_container';
|
||||
|
||||
import CylandLanding from './components/cyland/cyland_landing';
|
||||
import CylandPieceContainer from './components/cyland/cyland_detail/cyland_piece_container';
|
||||
@ -486,7 +487,7 @@ let ROUTES = {
|
||||
component={PieceContainer} />
|
||||
<Route
|
||||
path='editions/:editionId'
|
||||
component={EditionContainer} />
|
||||
component={BokkEditionContainer} />
|
||||
<Route
|
||||
path='coa_verify'
|
||||
component={CoaVerifyContainer} />
|
||||
|
Loading…
Reference in New Issue
Block a user