sprintify-ui 0.10.46 → 0.10.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sprintify-ui.es.js +3154 -3152
- package/package.json +1 -1
- package/src/components/BaseLayoutSidebar.vue +4 -2
package/package.json
CHANGED
|
@@ -270,9 +270,11 @@ const settingsStorage = config.settingsStorage;
|
|
|
270
270
|
|
|
271
271
|
const collapsedKey = `${componentStorageKey}.collapsed`;
|
|
272
272
|
|
|
273
|
-
const
|
|
273
|
+
const collapsed = ref(false);
|
|
274
274
|
|
|
275
|
-
|
|
275
|
+
onMounted(async () => {
|
|
276
|
+
collapsed.value = (await settingsStorage.get(collapsedKey)) == 1;
|
|
277
|
+
});
|
|
276
278
|
|
|
277
279
|
function toggleCollapse() {
|
|
278
280
|
collapsed.value = !collapsed.value;
|