@soft-stech/bootsman-ui-shadcn 1.4.18 → 1.4.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,7 @@ const ae = "[!fake-empty!]", E = /* @__PURE__ */ x({
23
23
  columns: {}
24
24
  },
25
25
  setup(f) {
26
- const t = f, C = v(() => t.row.original.name.includes(ae));
26
+ const t = f, C = v(() => t.row.original.name?.includes(ae));
27
27
  return (r, $) => (o(), u(d, null, [
28
28
  C.value ? S("", !0) : (o(), m(a(R), {
29
29
  key: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soft-stech/bootsman-ui-shadcn",
3
- "version": "1.4.18",
3
+ "version": "1.4.19",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -14,7 +14,7 @@ const props = defineProps<{
14
14
  const FAKE_ROW = '[!fake-empty!]'
15
15
  const isEmptyRow = computed(() => {
16
16
  // @ts-expect-error name с таким значением это наше внутреннее соглашение. См. Боцман Дашборд, таблицу Projects/Namespaces
17
- return props.row.original.name.includes(FAKE_ROW)
17
+ return props.row.original.name?.includes(FAKE_ROW)
18
18
  })
19
19
  </script>
20
20