mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-12 09:04:14 +02:00
calculation column order to be based on view (#2262)
This commit is contained in:
parent
10686f6b23
commit
73420bcf2a
@ -39,7 +39,7 @@ const CalculationRow = (props: Props): JSX.Element => {
|
||||
|
||||
const templates: IPropertyTemplate[] = [
|
||||
titleTemplate,
|
||||
...props.board.fields.cardProperties.filter((template) => props.activeView.fields.visiblePropertyIds.includes(template.id)),
|
||||
...props.activeView.fields.visiblePropertyIds.map((id) => props.board.fields.cardProperties.find((t) => t.id === id)).filter((i) => i) as IPropertyTemplate[],
|
||||
]
|
||||
|
||||
const selectedCalculations = props.board.fields.columnCalculations || []
|
||||
|
Loading…
Reference in New Issue
Block a user