From c215c693f524507bccf0a73c8480b8a7ea771417 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 3 Jan 2023 23:25:43 +0100 Subject: [PATCH] Only pass children that aren't configuration values to the entities --- .../http/webapp/src/components/panels/Entities/Index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/platypush/backend/http/webapp/src/components/panels/Entities/Index.vue b/platypush/backend/http/webapp/src/components/panels/Entities/Index.vue index 13345e63c9..685313b9c1 100644 --- a/platypush/backend/http/webapp/src/components/panels/Entities/Index.vue +++ b/platypush/backend/http/webapp/src/components/panels/Entities/Index.vue @@ -236,7 +236,11 @@ export default { childrenByParentId(parentId) { return Object.values(this.entities). - filter((entity) => entity.parent_id === parentId). + filter( + (entity) => entity + && entity.parent_id === parentId + && !entity.is_configuration + ). reduce((obj, entity) => { obj[entity.id] = entity return obj