Skip to content

Commit

Permalink
Fix Accordion
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasPeres committed May 28, 2024
1 parent d7ed256 commit 0f0d48e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@squidit/vue-css",
"version": "1.3.1",
"version": "1.3.11",
"scripts": {
"start": "vite",
"storybook": "storybook dev -p 6006",
Expand Down
2 changes: 1 addition & 1 deletion src/components/SqAccordion/SqAccordion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ onMounted(() => {
const returnOpenValue = (instance: ComponentInternalInstance) => {
const { devtoolsRawSetupState } = instance as unknown as { devtoolsRawSetupState: { open: { _value: boolean } } }
return devtoolsRawSetupState?.open?._value || devtoolsRawSetupState?.open
return devtoolsRawSetupState?.open?._value ?? devtoolsRawSetupState?.open
}
const closeCollapses = (collapse: ComponentInternalInstance) => {
Expand Down

0 comments on commit 0f0d48e

Please sign in to comment.