Remove workflow sidebar toggle from picker
ComfyUI only supports one sidebar at a time, so opening the workflows panel just replaces the snapshot manager. Revert to simple view-only behavior for cross-workflow snapshot browsing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2833,14 +2833,6 @@ async function buildSidebar(el) {
|
||||
if (entry.workflowKey === currentKey) {
|
||||
viewingWorkflowKey = null;
|
||||
} else {
|
||||
// Open the workflows sidebar so the user can switch
|
||||
try {
|
||||
const sidebarStore = app.extensionManager?.sidebarTab;
|
||||
const store = sidebarStore?.value ?? sidebarStore;
|
||||
if (store?.toggleSidebarTab) {
|
||||
store.toggleSidebarTab("workflows");
|
||||
}
|
||||
} catch { /* ignore */ }
|
||||
viewingWorkflowKey = entry.workflowKey;
|
||||
}
|
||||
activeBranchSelections.clear();
|
||||
|
||||
Reference in New Issue
Block a user