diff --git a/invokeai/frontend/web/src/features/nodes/components/flow/panels/TopPanel/WorkflowName.tsx b/invokeai/frontend/web/src/features/nodes/components/flow/panels/TopPanel/WorkflowName.tsx index bc05af70f2..97432ae865 100644 --- a/invokeai/frontend/web/src/features/nodes/components/flow/panels/TopPanel/WorkflowName.tsx +++ b/invokeai/frontend/web/src/features/nodes/components/flow/panels/TopPanel/WorkflowName.tsx @@ -5,9 +5,7 @@ import { useTranslation } from 'react-i18next'; const TopCenterPanel = () => { const { t } = useTranslation(); - const name = useAppSelector( - (state) => state.workflow.name || 'Untitled Workflow' - ); + const name = useAppSelector((state) => state.workflow.name); const isTouched = useAppSelector((state) => state.workflow.isTouched); return ( @@ -20,7 +18,7 @@ const TopCenterPanel = () => { fontWeight={600} opacity={0.8} > - {name} + {name || t('workflows.unnamedWorkflow')} {isTouched ? ` (${t('common.unsaved')})` : ''} );