Fix fields cannot be added on opportunity board if no field are present
This commit is contained in:
@ -153,7 +153,7 @@ export const useRecordIndexOptionsForBoard = ({
|
||||
...recordIndexFieldDefinitions,
|
||||
{
|
||||
...correspondingFieldDefinition,
|
||||
position: lastVisibleBoardField.position + 1,
|
||||
position: (lastVisibleBoardField?.position || 0) + 1,
|
||||
isVisible: true,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user