Chore: Edit button on cells should be guessed by the field's type (#1952)
* created custom hook to get Icon Component as per field type * Fix conflicts --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -8,7 +8,6 @@ import {
|
||||
import {
|
||||
IconCalendarEvent,
|
||||
IconCurrencyDollar,
|
||||
IconPencil,
|
||||
IconProgressCheck,
|
||||
IconUser,
|
||||
} from '@/ui/display/icon';
|
||||
@ -69,7 +68,6 @@ export const pipelineAvailableFieldDefinitions: BoardFieldDefinition<FieldMetada
|
||||
useEditButton: true,
|
||||
},
|
||||
isVisible: true,
|
||||
buttonIcon: IconPencil,
|
||||
infoTooltipContent: 'Primary contact within the company.',
|
||||
entityChipDisplayMapper: (dataObject: Person) => {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user