Commit 422f6984 by tdgiang

update code

parent 4c108e10
...@@ -22,8 +22,8 @@ import { ...@@ -22,8 +22,8 @@ import {
const getUserRoleAuthStatus = (pathname, user) => { const getUserRoleAuthStatus = (pathname, user) => {
console.log("pathname",pathname)
return true //return true
if(pathname==='/dashboard/default' || pathname==='/' || pathname=="/dashboard") if(pathname==='/dashboard/default' || pathname==='/' || pathname=="/dashboard")
return true return true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment