diff --git a/client/src/main.js b/client/src/main.js index e77a5b0b..f306c74b 100644 --- a/client/src/main.js +++ b/client/src/main.js @@ -15,7 +15,7 @@ Vue.config.productionTip = false // TODO: Move into a separate project as a plugin // function getRidOfEdges(collection) { - if (typeof collection === 'object' && collection) { + if (typeof collection === 'object' && collection && !Array.isArray(collection)) { let newObj = {} for (const k in collection) { if (k === 'edges') {