You've already forked focalboard
							
							
				mirror of
				https://github.com/mattermost/focalboard.git
				synced 2025-10-31 00:17:42 +02:00 
			
		
		
		
	check for propertyValue not null (#2986)
This commit is contained in:
		| @@ -271,7 +271,7 @@ function searchFilterCards(cards: Card[], board: Board, searchTextRaw: string): | ||||
|         for (const [propertyId, propertyValue] of Object.entries(card.fields.properties)) { | ||||
|             // TODO: Refactor to a shared function that returns the display value of a property | ||||
|             const propertyTemplate = board.cardProperties.find((o) => o.id === propertyId) | ||||
|             if (propertyTemplate) { | ||||
|             if (propertyTemplate && propertyValue) { | ||||
|                 if (propertyTemplate.type === 'select') { | ||||
|                     // Look up the value of the select option | ||||
|                     const option = propertyTemplate.options.find((o) => o.id === propertyValue) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user