Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
netvs-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scc-net
netvs
netvs-core
Commits
2f30b9c0
Commit
2f30b9c0
authored
1 year ago
by
Janis Streib
Browse files
Options
Downloads
Patches
Plain Diff
FIX: login issues (closes
#493
)
parent
a745bd8e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/src/App.vue
+0
-2
0 additions, 2 deletions
frontend/src/App.vue
frontend/src/api-services/system_info.service.js
+2
-4
2 additions, 4 deletions
frontend/src/api-services/system_info.service.js
with
2 additions
and
6 deletions
frontend/src/App.vue
+
0
−
2
View file @
2f30b9c0
...
...
@@ -293,8 +293,6 @@ export default {
this
.
breadcrumbs
=
this
.
getBreadcrumbs
(
m
)
})
EventBus
.
$on
(
'
error
'
,
(
payload
)
=>
{
window
.
console
.
debug
(
'
evbus trigger
'
)
window
.
console
.
debug
(
JSON
.
parse
(
JSON
.
stringify
(
payload
)))
// yikes
if
(
'
response
'
in
payload
)
{
window
.
console
.
debug
(
'
has response
'
)
if
(
payload
.
response
.
status
===
401
)
{
...
...
This diff is collapsed.
Click to expand it.
frontend/src/api-services/system_info.service.js
+
2
−
4
View file @
2f30b9c0
import
Axios
from
'
axios
'
import
TransactionService
from
'
@/api-services/transaction.service
'
import
MaintService
from
'
@/api-services.gen/wapi.maint_state
'
const
RESOURCE_NAME
=
'
/api/system/info
'
...
...
@@ -21,9 +22,6 @@ export default {
return
Axios
.
get
(
'
/api/alerts.json?
'
+
Math
.
random
().
toString
())
},
getMaintenance
(
config
)
{
const
ta
=
[
{
name
:
'
wapi.maint_state.list
'
,
old
:
{
sorting_params_list
:
[
'
is_active
'
,
'
ts_begin
'
]
}
}
]
return
TransactionService
.
execute
(
config
,
ta
)
return
MaintService
.
list
(
undefined
,
{
sorting_params_list
:
[
'
is_active
'
,
'
ts_begin
'
]})
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment