Explorar el Código

Spell mistake in Authorized util. (#4170)

This is causing a redirect issue after login attempts.
'RenderAuthorized' should be 'RenderAuthorize'
Magton hace 6 años
padre
commit
6663cb8529
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      src/utils/Authorized.js

+ 3 - 3
src/utils/Authorized.js

@@ -1,11 +1,11 @@
-import RenderAuthorized from '@/components/Authorized';
+import RenderAuthorize from '@/components/Authorized';
 import { getAuthority } from './authority';
 
-let Authorized = RenderAuthorized(getAuthority()); // eslint-disable-line
+let Authorized = RenderAuthorize(getAuthority()); // eslint-disable-line
 
 // Reload the rights component
 const reloadAuthorized = () => {
-  Authorized = RenderAuthorized(getAuthority());
+  Authorized = RenderAuthorize(getAuthority());
 };
 
 export { reloadAuthorized };