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 cb997863..893086fc 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 337da2ae..a00cd69c 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 ed1ccf58..699242e2 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 @@