Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
netvs-core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
71
Issues
71
List
Boards
Labels
Service Desk
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
scc-net
netvs
netvs-core
Commits
068abbf8
Commit
068abbf8
authored
Nov 19, 2020
by
Janis Streib
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX: avoid redundant navigation
parent
253d96b5
Pipeline
#118701
passed with stages
in 13 minutes and 29 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
frontend/src/main.js
frontend/src/main.js
+6
-2
No files found.
frontend/src/main.js
View file @
068abbf8
...
...
@@ -321,12 +321,16 @@ async function init() {
case
401
:
await
LoginService
.
logout
(
null
)
store
.
commit
(
'
logout
'
)
router
.
push
(
'
/login
'
)
if
(
router
.
currentRoute
.
path
!==
'
/login
'
)
{
router
.
push
(
'
/login
'
)
}
break
case
403
:
await
LoginService
.
logout
(
null
)
store
.
commit
(
'
logout
'
)
router
.
push
(
'
/login
'
)
if
(
router
.
currentRoute
.
path
!==
'
/login
'
)
{
router
.
push
(
'
/login
'
)
}
break
default
:
break
...
...
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