You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
432 B
13 lines
432 B
import RenderAuthorize from '@/components/Authorized';
|
|
import { getAuthority } from './authority';
|
|
/* eslint-disable eslint-comments/disable-enable-pair */
|
|
/* eslint-disable import/no-mutable-exports */
|
|
let Authorized = RenderAuthorize(getAuthority());
|
|
|
|
// Reload the rights component
|
|
const reloadAuthorized = (): void => {
|
|
Authorized = RenderAuthorize(getAuthority());
|
|
};
|
|
|
|
export { reloadAuthorized };
|
|
export default Authorized;
|
|
|