diff --git a/platypush/backend/http/webapp/src/components/panels/Entities/Entity.vue b/platypush/backend/http/webapp/src/components/panels/Entities/Entity.vue index cb997863a..893086fcb 100644 --- a/platypush/backend/http/webapp/src/components/panels/Entities/Entity.vue +++ b/platypush/backend/http/webapp/src/components/panels/Entities/Entity.vue @@ -24,11 +24,12 @@ -
+
entity + && entity.parent_id === parentId + && !entity.is_configuration + ). + reduce((obj, entity) => { + obj[entity.id] = entity + return obj + }, {}) + }, + onClick(event) { event.stopPropagation() diff --git a/platypush/backend/http/webapp/src/components/panels/Entities/EntityMixin.vue b/platypush/backend/http/webapp/src/components/panels/Entities/EntityMixin.vue index 337da2ae7..a00cd69ca 100644 --- a/platypush/backend/http/webapp/src/components/panels/Entities/EntityMixin.vue +++ b/platypush/backend/http/webapp/src/components/panels/Entities/EntityMixin.vue @@ -31,6 +31,11 @@ export default { default: () => {}, }, + allEntities: { + type: Object, + default: () => {}, + }, + level: { type: Number, default: 0, 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 ed1ccf58d..699242e2c 100644 --- a/platypush/backend/http/webapp/src/components/panels/Entities/Index.vue +++ b/platypush/backend/http/webapp/src/components/panels/Entities/Index.vue @@ -57,6 +57,7 @@