1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-02-04 19:15:49 +02:00

removed TODO comments flagged by eslint (#1623)

This commit is contained in:
Marc Velasco 2021-10-25 08:36:59 -07:00 committed by GitHub
parent e33fa1d593
commit 169326e714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -61,7 +61,6 @@ const FilterComponent = React.memo((props: Props): JSX.Element => {
const {board, activeView} = props
// TODO: Handle FilterGroups (compound filter statements)
const filters: FilterClause[] = activeView.fields.filter?.filters.filter((o) => !isAFilterGroupInstance(o)) as FilterClause[] || []
return (

View File

@ -30,7 +30,7 @@ const FilterEntry = React.memo((props: Props): JSX.Element => {
const intl = useIntl()
const template = board.fields.cardProperties.find((o: IPropertyTemplate) => o.id === filter.propertyId)
const propertyName = template ? template.name : '(unknown)' // TODO: Handle error
const propertyName = template ? template.name : '(unknown)'
const key = `${filter.propertyId}-${filter.condition}-${filter.values.join(',')}`
return (
<div