mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-01 14:36:13 +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() {
|
getRelationsList() {
|
||||||
console.log('fetch relationsList')
|
console.log('fetch relationsList')
|
||||||
return getRelationsList().then(relations => new Promise(resolve => {
|
return getRelationsList().then(relations => new Promise(resolve => {
|
||||||
console.log('+ relations list', relations.results.filter(r => r.isActive === true))
|
console.log('+ relations list', relations.results.length)
|
||||||
this.relations = relations.results
|
this.relations = relations.results.filter(r => r.isActive === true)
|
||||||
resolve()
|
resolve()
|
||||||
})).catch()
|
})).catch()
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user