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 97432ae865..8fefc027a6 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 @@ -2,11 +2,14 @@ import { Text } from '@chakra-ui/layout'; import { useAppSelector } from 'app/store/storeHooks'; import { memo } from 'react'; import { useTranslation } from 'react-i18next'; +import { useFeatureStatus } from 'features/system/hooks/useFeatureStatus'; const TopCenterPanel = () => { const { t } = useTranslation(); const name = useAppSelector((state) => state.workflow.name); const isTouched = useAppSelector((state) => state.workflow.isTouched); + const isWorkflowLibraryEnabled = + useFeatureStatus('workflowLibrary').isFeatureEnabled; return ( { opacity={0.8} > {name || t('workflows.unnamedWorkflow')} - {isTouched ? ` (${t('common.unsaved')})` : ''} + {isTouched && isWorkflowLibraryEnabled ? ` (${t('common.unsaved')})` : ''} ); };