mirror of
https://github.com/ascribe/onion.git
synced 2024-06-28 00:28:00 +02:00
Only show register work route if user can submit to wallet for IkonoTV, Lumenus
This commit is contained in:
parent
b3b94b6f60
commit
1de06b0ac5
|
@ -145,7 +145,7 @@ let ROUTES = {
|
|||
path='register_piece'
|
||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(IkonotvRegisterPiece)}
|
||||
headerTitle='+ NEW WORK'
|
||||
aclName='acl_create_piece'/>
|
||||
aclName='acl_wallet_submit' />
|
||||
<Route
|
||||
path='collection'
|
||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(IkonotvPieceList)}
|
||||
|
@ -183,7 +183,8 @@ let ROUTES = {
|
|||
<Route
|
||||
path='register_piece'
|
||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(MarketRegisterPiece)}
|
||||
headerTitle='+ NEW WORK'/>
|
||||
headerTitle='+ NEW WORK'
|
||||
aclName='acl_wallet_submit' />
|
||||
<Route
|
||||
path='collection'
|
||||
component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(MarketPieceList)}
|
||||
|
|
Loading…
Reference in New Issue
Block a user