Skip to content

Commit 172ec6c

Browse files
feat: added emoji in front of new workflow name
1 parent 37835a5 commit 172ec6c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

client/src/components/SidePanel/Workflows/WorkflowsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const WorkflowsTable: React.FC<WorkflowsTableProps> = ({ workflows }) => {
5757
// Create a new conversation with the workflow agent
5858
const newConversation: TConversation = {
5959
conversationId: String(Constants.NEW_CONVO),
60-
title: 'New Workflow',
60+
title: 'New Workflow',
6161
endpoint: EModelEndpoint.agents,
6262
endpointType: EModelEndpoint.agents,
6363
agent_id: WORKFLOW_AGENT_ID,

client/src/hooks/Workflows/useWorkflowState.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ interface UseWorkflowStateProps {
1010
}
1111

1212
export const useWorkflowState = ({ currentWorkflowData, userTimezone }: UseWorkflowStateProps) => {
13-
const [workflowName, setWorkflowName] = useState('New Workflow');
13+
const [workflowName, setWorkflowName] = useState('New Workflow');
1414
const [triggerType, setTriggerType] = useState<
1515
'manual' | 'schedule' | 'webhook' | 'email' | 'event' | 'app'
1616
>('manual');
@@ -46,7 +46,7 @@ export const useWorkflowState = ({ currentWorkflowData, userTimezone }: UseWorkf
4646
useEffect(() => {
4747
if (currentWorkflowData) {
4848
// Populate form fields with existing workflow data
49-
setWorkflowName(currentWorkflowData.name || 'New Workflow');
49+
setWorkflowName(currentWorkflowData.name || 'New Workflow');
5050
setTriggerType(currentWorkflowData.trigger?.type || 'manual');
5151

5252
const existingSchedule = currentWorkflowData.trigger?.config?.schedule || '';

0 commit comments

Comments
 (0)