Browse Source
* authority injection * Delete nonsense * Remove the login page guest role * Formatted as eslint formatpull/799/head
committed by
ddcat1115
6 changed files with 22 additions and 18 deletions
@ -1,5 +1,12 @@ |
|||
import RenderAuthorized from '../components/Authorized'; |
|||
import { getAuthority } from './authority'; |
|||
|
|||
const Authorized = RenderAuthorized(getAuthority()); |
|||
let Authorized = RenderAuthorized(getAuthority()); // eslint-disable-line
|
|||
|
|||
// Reload the rights component
|
|||
const reloadAuthorized = () => { |
|||
Authorized = RenderAuthorized(getAuthority()); |
|||
}; |
|||
|
|||
export { reloadAuthorized }; |
|||
export default Authorized; |
|||
|
|||
Loading…
Reference in new issue