sprintify-ui 0.10.41 → 0.10.42

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.41",
3
+ "version": "0.10.42",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "rimraf dist && vue-tsc && vite build",
@@ -793,7 +793,7 @@ function searchItems(items: Collection | undefined) {
793
793
 
794
794
  return items?.filter((item) => {
795
795
  return Object.values(item).some((value) => {
796
- if (typeof value == 'string') {
796
+ if (typeof value === 'string') {
797
797
  return value.toLowerCase().includes(searchWords);
798
798
  }
799
799
  return false;
@@ -59,6 +59,15 @@ const componentProps = {
59
59
  return "/";
60
60
  },
61
61
  rowSelected(row) {
62
+ if (!row) {
63
+ return false;
64
+ }
65
+ if (!row.id) {
66
+ return false;
67
+ }
68
+ if (typeof row.id !== "string") {
69
+ return false;
70
+ }
62
71
  return row.id.includes('9b7e6');
63
72
  },
64
73
  detailed: true,