Skip to content
Snippets Groups Projects
Commit 2f30b9c0 authored by Janis Streib's avatar Janis Streib :owl:
Browse files

FIX: login issues (closes #493)

parent a745bd8e
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
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']})
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment