mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
fix: image edit workflow editor
This commit is contained in:
parent
d5fe0f6067
commit
67c4ea1e57
1 changed files with 3 additions and 2 deletions
|
|
@ -62,6 +62,7 @@
|
|||
}
|
||||
];
|
||||
|
||||
let showComfyUIEditWorkflowEditor = false;
|
||||
let REQUIRED_EDIT_WORKFLOW_NODES = [
|
||||
{
|
||||
type: 'image',
|
||||
|
|
@ -1075,7 +1076,7 @@
|
|||
aria-label={$i18n.t('Edit workflow.json content')}
|
||||
on:click={() => {
|
||||
// open code editor modal
|
||||
showComfyUIWorkflowEditor = true;
|
||||
showComfyUIEditWorkflowEditor = true;
|
||||
}}
|
||||
>
|
||||
{$i18n.t('Edit')}
|
||||
|
|
@ -1100,7 +1101,7 @@
|
|||
|
||||
<div class="mt-1 text-xs text-gray-400 dark:text-gray-500">
|
||||
<CodeEditorModal
|
||||
bind:show={showComfyUIWorkflowEditor}
|
||||
bind:show={showComfyUIEditWorkflowEditor}
|
||||
value={config.IMAGES_EDIT_COMFYUI_WORKFLOW}
|
||||
lang="json"
|
||||
onChange={(e) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue