diff --git a/package-lock.json b/package-lock.json index b7e95ad..f35b84a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@squidit/vue-css", - "version": "1.3.1", + "version": "1.3.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@squidit/vue-css", - "version": "1.3.1", + "version": "1.3.11", "license": "MIT", "dependencies": { "@squidit/css": "^2.0.28", diff --git a/package.json b/package.json index a09b92d..86695e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@squidit/vue-css", - "version": "1.3.1", + "version": "1.3.11", "scripts": { "start": "vite", "storybook": "storybook dev -p 6006", diff --git a/src/components/SqAccordion/SqAccordion.vue b/src/components/SqAccordion/SqAccordion.vue index cecf51e..b41aad2 100644 --- a/src/components/SqAccordion/SqAccordion.vue +++ b/src/components/SqAccordion/SqAccordion.vue @@ -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) => {