Creates prop for setting the collapse state of panels

This commit is contained in:
Alicia Sykes
2019-09-01 17:31:00 +01:00
parent 335c8eec53
commit 45edb85b36
5 changed files with 41 additions and 5 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
<template>
<Collapsable :title="title" :uniqueKey="groupId">
<Collapsable :title="title" :uniqueKey="groupId" :collapsed="collapsed">
<div v-if="!items || items.length < 1" class="no-items">
No Items to Show Yet
</div>
@@ -25,6 +25,7 @@ export default {
props: {
groupId: String,
title: String,
collapsed: Boolean,
items: Array,
},
components: {