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:
parent
e33fa1d593
commit
169326e714
@ -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 (
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user