From 0332cf97422e5989f466373ace45fee9babd2fb3 Mon Sep 17 00:00:00 2001
From: Maksim Zakharov <m.zakharov@IBS.RU>
Date: Mon, 8 Aug 2022 17:27:36 +0300
Subject: fix dymamic collapse

---
 src/components/_sila/Global/Collapse.vue | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

(limited to 'src/components/_sila/Global/Collapse.vue')

diff --git a/src/components/_sila/Global/Collapse.vue b/src/components/_sila/Global/Collapse.vue
index da2b74c8..36778571 100644
--- a/src/components/_sila/Global/Collapse.vue
+++ b/src/components/_sila/Global/Collapse.vue
@@ -10,7 +10,7 @@
       {{ title }}
       <component :is="iconChevronUp" class="icon-expand" />
     </b-button>
-    <b-collapse :id="id" :visible="defaultOpen">
+    <b-collapse :id="id" visible>
       <slot></slot>
     </b-collapse>
   </div>
@@ -29,14 +29,10 @@ export default {
       type: String,
       default: null,
     },
-    defaultOpen: {
-      type: Boolean,
-      default: false,
-    },
   },
   data() {
     return {
-      opened: false,
+      opened: true,
       iconChevronUp: iconChevronUp,
     };
   },
-- 
cgit v1.2.3

