Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CmsPetrolPay
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Giang Tran
CmsPetrolPay
Commits
834910cd
Commit
834910cd
authored
a year ago
by
tdgiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update code
parent
ff0becda
master
…
dev
dev_3
ladingpage
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
AuthGuard.jsx
src/app/auth/AuthGuard.jsx
+1
-1
No files found.
src/app/auth/AuthGuard.jsx
View file @
834910cd
...
@@ -24,7 +24,7 @@ import {
...
@@ -24,7 +24,7 @@ import {
const
getUserRoleAuthStatus
=
(
pathname
,
user
)
=>
{
const
getUserRoleAuthStatus
=
(
pathname
,
user
)
=>
{
//return true
//return true
if
(
pathname
===
'/dashboard/default'
||
pathname
===
'/'
||
pathname
==
"/dashboard"
)
if
(
pathname
===
'/dashboard/default'
||
pathname
===
'/'
||
pathname
==
"/dashboard"
||
pathname
==
"/my-profile"
||
pathname
==
"/change-password"
)
return
true
return
true
if
(
user
){
if
(
user
){
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment