mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-22 07:19:41 +00:00
Mark show missing models warning as experimental (#670)
* Mark show missing models warning as experimental * nit
This commit is contained in:
@@ -39,6 +39,8 @@ test.describe('Missing models warning', () => {
|
|||||||
test('Should display a warning when missing models are found', async ({
|
test('Should display a warning when missing models are found', async ({
|
||||||
comfyPage
|
comfyPage
|
||||||
}) => {
|
}) => {
|
||||||
|
await comfyPage.setSetting('Comfy.Workflow.ShowMissingModelsWarning', true)
|
||||||
|
|
||||||
// The fake_model.safetensors is served by
|
// The fake_model.safetensors is served by
|
||||||
// https://github.com/Comfy-Org/ComfyUI_devtools/blob/main/__init__.py
|
// https://github.com/Comfy-Org/ComfyUI_devtools/blob/main/__init__.py
|
||||||
await comfyPage.loadWorkflow('missing_models')
|
await comfyPage.loadWorkflow('missing_models')
|
||||||
|
|||||||
@@ -188,7 +188,8 @@ export const useSettingStore = defineStore('setting', {
|
|||||||
id: 'Comfy.Workflow.ShowMissingModelsWarning',
|
id: 'Comfy.Workflow.ShowMissingModelsWarning',
|
||||||
name: 'Show missing models warning',
|
name: 'Show missing models warning',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
defaultValue: true
|
defaultValue: false,
|
||||||
|
experimental: true
|
||||||
})
|
})
|
||||||
|
|
||||||
app.ui.settings.addSetting({
|
app.ui.settings.addSetting({
|
||||||
|
|||||||
Reference in New Issue
Block a user