Make workflow step name editable (#8677)
- Use TextInput in header title - add onTitleChange prop - rename field name instead of label To fix : - padding right on title comes from current TextInput component. It needs to be refactored https://github.com/user-attachments/assets/535cd6d3-866b-4a61-9c5d-cdbe7710396a
This commit is contained in:
@ -2,17 +2,17 @@ import { WorkflowTriggerType } from '@/workflow/types/Workflow';
|
||||
import { IconComponent, IconSettingsAutomation } from 'twenty-ui';
|
||||
|
||||
export const TRIGGER_TYPES: Array<{
|
||||
label: string;
|
||||
name: string;
|
||||
type: WorkflowTriggerType;
|
||||
icon: IconComponent;
|
||||
}> = [
|
||||
{
|
||||
label: 'Database Event',
|
||||
name: 'Database Event',
|
||||
type: 'DATABASE_EVENT',
|
||||
icon: IconSettingsAutomation,
|
||||
},
|
||||
{
|
||||
label: 'Manual',
|
||||
name: 'Manual Trigger',
|
||||
type: 'MANUAL',
|
||||
icon: IconSettingsAutomation,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user