diff --git a/web/linker.js b/web/linker.js index d125eda..bcad3d0 100644 --- a/web/linker.js +++ b/web/linker.js @@ -244,7 +244,7 @@ class LinkerManagerDialog extends ComfyDialog { this.syncSearchSourceUi(missing, container); } - renderDownloadSourceSection(missing, downloadSource) { + renderDownloadSourceSection(missing, downloadSource) { const filename = missing.original_path?.split('/').pop()?.split('\\').pop() || ''; const isFromWorkflow = downloadSource.url_source === 'workflow'; const isCivitaiSource = downloadSource.source === 'civitai'; @@ -346,6 +346,30 @@ class LinkerManagerDialog extends ComfyDialog { return html; } + renderSearchControls(missing) { + const searchSourcesId = `search-sources-${missing.node_id}-${missing.widget_index}`; + const searchSourceSelectId = `search-source-select-${missing.node_id}-${missing.widget_index}`; + + let html = `
`; + return html; + } + renderProgressWithAction({ percent = 0, leftText = '', @@ -3842,37 +3866,23 @@ class LinkerManagerDialog extends ComfyDialog { html += `Exact local match available`; html += ``; html += ``; - } else if (downloadSource && downloadSource.url) { - html += this.renderDownloadSourceSection(missing, downloadSource); - } else if (missing.is_urn) { - html += `