mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-01 06:26:15 +00:00
visgraph: fix error with GET relations response
This commit is contained in:
parent
e2110691ff
commit
2099edefc5
@ -290,8 +290,8 @@ export default {
|
||||
getRelationsList() {
|
||||
console.log('fetch relationsList')
|
||||
return getRelationsList().then(relations => new Promise(resolve => {
|
||||
console.log('+ relations list', relations.results.filter(r => r.isActive === true))
|
||||
this.relations = relations.results
|
||||
console.log('+ relations list', relations.results.length)
|
||||
this.relations = relations.results.filter(r => r.isActive === true)
|
||||
resolve()
|
||||
})).catch()
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user