Skip to content

Commit

Permalink
fix(spec-renderer): fix typeError xe.tag.toLowerCase is not a functio…
Browse files Browse the repository at this point in the history
…n [KHCP-12420] (#1578)
  • Loading branch information
mptap authored Aug 22, 2024
1 parent 0eeed74 commit a379288
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const props = defineProps({
default: (({ items, query }) => {
query = query.toLowerCase()
return items.filter((item) => item.tag && item.tag.toLowerCase().includes(query))
return items.filter((item) => item.tag && String(item.tag).toLowerCase().includes(query))
}) as OperationListFilterFunction,
validator: (maybeFunc) => !!maybeFunc && typeof maybeFunc === 'function',
},
Expand Down

0 comments on commit a379288

Please sign in to comment.