From eeab34ce08daeb31ca9c3771ee51cc0eaed5dcc5 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Fri, 20 Mar 2020 13:38:13 -0300 Subject: [PATCH] New group collapse strategy inside childItemMetadatum #17. --- .../metadata-types/compound/Compound.vue | 34 +++++++++++-------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/src/views/admin/components/metadata-types/compound/Compound.vue b/src/views/admin/components/metadata-types/compound/Compound.vue index 11cd7a168..0b81625f7 100644 --- a/src/views/admin/components/metadata-types/compound/Compound.vue +++ b/src/views/admin/components/metadata-types/compound/Compound.vue @@ -17,8 +17,8 @@ v-for="(childItemMetadatum, index) of childItemMetadataGroups[0]" :key="index" :item-metadatum="childItemMetadatum" - :is-collapsed="true" - @changeCollapse="onChangeCollapse($event, index)"/> + :is-collapsed="childItemMetadatum.collapse" + @changeCollapse="onChangeCollapse($event, 0, index)"/>