mirror of
https://github.com/mattermost/focalboard.git
synced 2025-04-11 11:19:56 +02:00
Fixing table header ordering in table view (#2564)
This commit is contained in:
parent
001fc97dd1
commit
28b0dc8c08
@ -80,7 +80,7 @@ const TableRow = (props: Props) => {
|
||||
}, [title, setTitle])
|
||||
|
||||
const visiblePropertyTemplates = useMemo(() => (
|
||||
board.cardProperties.filter((template: IPropertyTemplate) => visiblePropertyIds.includes(template.id))
|
||||
visiblePropertyIds.map((id) => board.cardProperties.find((t) => t.id === id)).filter((i) => i) as IPropertyTemplate[]
|
||||
), [board.cardProperties, visiblePropertyIds])
|
||||
|
||||
let className = props.isSelected ? 'TableRow octo-table-row selected' : 'TableRow octo-table-row'
|
||||
|
Loading…
x
Reference in New Issue
Block a user