sprintify-ui 0.8.65 → 0.8.66

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.8.65",
3
+ "version": "0.8.66",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "rimraf dist && vue-tsc && vite build",
@@ -701,24 +701,16 @@ onMounted(async () => {
701
701
  visibleColumns.value = visibleColumnsFromStorage;
702
702
  }
703
703
 
704
- // If nothing is found, set visibleColumns to all columns from table
705
- const unWatchTable = watch(
706
- () => table.value,
707
- () => {
708
- if (
709
- table.value &&
710
- table.value.newColumns.length &&
711
- visibleColumns.value.length == 0
712
- ) {
713
- visibleColumns.value = table.value.newColumns
714
- .filter((c) => c.toggle)
715
- .filter((c) => c.toggleDefault ?? true)
716
- .map((c) => c.newKey);
717
-
718
- unWatchTable();
719
- }
720
- }
721
- );
704
+ if (
705
+ table.value &&
706
+ table.value.newColumns.length &&
707
+ visibleColumns.value.length == 0
708
+ ) {
709
+ visibleColumns.value = table.value.newColumns
710
+ .filter((c) => c.toggle)
711
+ .filter((c) => c.toggleDefault ?? true)
712
+ .map((c) => c.newKey);
713
+ }
722
714
  });
723
715
 
724
716
  /**