1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

Remove 'disabledOn' for prize routes

This commit is contained in:
Tim Daubenschütz 2016-01-26 11:07:41 +01:00
parent 27f1b7e9b4
commit 3d43cd8505

View File

@ -54,8 +54,7 @@ const ROUTES = {
<Route <Route
path='collection' path='collection'
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SPPieceList)} component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SPPieceList)}
headerTitle='COLLECTION' headerTitle='COLLECTION'/>
disableOn='noPieces' />
<Route path='pieces/:pieceId' component={SluicePieceContainer} /> <Route path='pieces/:pieceId' component={SluicePieceContainer} />
<Route path='editions/:editionId' component={EditionContainer} /> <Route path='editions/:editionId' component={EditionContainer} />
<Route path='verify' component={CoaVerifyContainer} /> <Route path='verify' component={CoaVerifyContainer} />
@ -71,8 +70,7 @@ const ROUTES = {
<Route <Route
path='collection' path='collection'
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SPPieceList)} component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(SPPieceList)}
headerTitle='SUBMISSIONS' headerTitle='SUBMISSIONS'/>
disableOn='noPieces' />
<Route <Route
path='login' path='login'
component={ProxyHandler( component={ProxyHandler(