mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-26 05:24:04 +03:00
Fix fields cannot be added on opportunity board if no field are present
This commit is contained in:
parent
ec384cc791
commit
3f15cc5b7a
@ -153,7 +153,7 @@ export const useRecordIndexOptionsForBoard = ({
|
||||
...recordIndexFieldDefinitions,
|
||||
{
|
||||
...correspondingFieldDefinition,
|
||||
position: lastVisibleBoardField.position + 1,
|
||||
position: (lastVisibleBoardField?.position || 0) + 1,
|
||||
isVisible: true,
|
||||
},
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user