diff --git a/assets/js/app/editor/Components/Collection.vue b/assets/js/app/editor/Components/Collection.vue index 8ef775c4d..90541a3c0 100644 --- a/assets/js/app/editor/Components/Collection.vue +++ b/assets/js/app/editor/Components/Collection.vue @@ -14,7 +14,7 @@ - +
-
+
+ + + +
-
+ +
@@ -62,7 +93,7 @@ :key="field.type" class="dropdown-item" :data-field="field.type" - @click="addCollectionItem(field.slug)" + @click="addCollectionItem($event)" > {{ field.label }} @@ -74,7 +105,7 @@ type="button" class="btn btn-secondary btn-small" :data-field="fields[0].slug" - @click="addCollectionItem(fields.slug)" + @click="addCollectionItem(fields.type)" > {{ labels.add_collection_item }} @@ -85,53 +116,16 @@