diff --git a/webapp/src/store/cards.ts b/webapp/src/store/cards.ts index 4edd32f53..017c91362 100644 --- a/webapp/src/store/cards.ts +++ b/webapp/src/store/cards.ts @@ -354,7 +354,7 @@ function searchFilterCards(cards: Card[], board: Board, searchTextRaw: string): } } else if (propertyTemplate.type === 'multiSelect') { // Look up the value of the select option - const options = (propertyValue as string[]).map((value) => propertyTemplate.options.find((o) => o.id === value)?.value.toLowerCase()) + const options = (Array.isArray(propertyValue) ? propertyValue : [propertyValue]).map((value) => propertyTemplate.options.find((o) => o.id === value)?.value.toLowerCase()) if (options?.includes(searchText)) { return true }