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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.10.46",
3
+ "version": "0.10.47",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "rimraf dist && vue-tsc && vite build",
@@ -270,9 +270,11 @@ const settingsStorage = config.settingsStorage;
270
270
 
271
271
  const collapsedKey = `${componentStorageKey}.collapsed`;
272
272
 
273
- const value = await settingsStorage.get(collapsedKey);
273
+ const collapsed = ref(false);
274
274
 
275
- const collapsed = ref(!!value);
275
+ onMounted(async () => {
276
+ collapsed.value = (await settingsStorage.get(collapsedKey)) == 1;
277
+ });
276
278
 
277
279
  function toggleCollapse() {
278
280
  collapsed.value = !collapsed.value;