fix link
This commit is contained in:
parent
38c45957b8
commit
fa61fafd7c
|
@ -47,9 +47,16 @@ class ReactRouter extends Component {
|
||||||
:
|
:
|
||||||
''
|
''
|
||||||
}
|
}
|
||||||
<>
|
{
|
||||||
<Route path={'/auth/:token?'} render={(props) => <AutoLogin {...props} />} />
|
this.state.dataRole?.indexOf('search:view') !== -1
|
||||||
</>
|
?
|
||||||
|
<>
|
||||||
|
<Route path={'/auth/:token?'} render={(props) => <AutoLogin {...props} />} />
|
||||||
|
</>
|
||||||
|
:
|
||||||
|
''
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
this.state.dataRole?.indexOf('search:view') !== -1
|
this.state.dataRole?.indexOf('search:view') !== -1
|
||||||
?
|
?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user