mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-21 23:34:31 +00:00
Migrate deprecated setting values (#954)
This commit is contained in:
@@ -379,7 +379,13 @@ export const CORE_SETTINGS: SettingParams[] = [
|
||||
name: 'Use new menu and workflow management.',
|
||||
experimental: true,
|
||||
type: 'combo',
|
||||
options: ['Disabled', 'Floating']
|
||||
options: ['Disabled', 'Floating'],
|
||||
migrateDeprecatedValue: (value: string) => {
|
||||
if (['Top', 'Bottom'].includes(value)) {
|
||||
return 'Floating'
|
||||
}
|
||||
return value
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'Comfy.Workflow.WorkflowTabsPosition',
|
||||
|
||||
Reference in New Issue
Block a user