Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -253,8 +253,8 @@ const filteredFamilies = computed(() => { | ... | @@ -253,8 +253,8 @@ const filteredFamilies = computed(() => { |
| 253 | return mockFamilies.value | 253 | return mockFamilies.value |
| 254 | } | 254 | } |
| 255 | return mockFamilies.value.filter(family => | 255 | return mockFamilies.value.filter(family => |
| 256 | - family.name.includes(searchKeyword.value) || | 256 | + family.name?.includes(searchKeyword.value) || |
| 257 | - family.description.includes(searchKeyword.value) | 257 | + family.description?.includes(searchKeyword.value) |
| 258 | ) | 258 | ) |
| 259 | }); | 259 | }); |
| 260 | 260 | ... | ... |
-
Please register or login to post a comment