Hide branchingDefault setting when BRANCHING_ENABLED is false
This commit is contained in:
@@ -3950,7 +3950,7 @@ if (window.__COMFYUI_FRONTEND_VERSION__) {
|
|||||||
if (value && timelineRefresh) timelineRefresh().catch(() => {});
|
if (value && timelineRefresh) timelineRefresh().catch(() => {});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
...(BRANCHING_ENABLED ? [{
|
||||||
id: "SnapshotManager.branchingDefault",
|
id: "SnapshotManager.branchingDefault",
|
||||||
name: "Enable branching by default",
|
name: "Enable branching by default",
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
@@ -3961,7 +3961,7 @@ if (window.__COMFYUI_FRONTEND_VERSION__) {
|
|||||||
if (sidebarRefresh) sidebarRefresh().catch(() => {});
|
if (sidebarRefresh) sidebarRefresh().catch(() => {});
|
||||||
if (timelineRefresh) timelineRefresh().catch(() => {});
|
if (timelineRefresh) timelineRefresh().catch(() => {});
|
||||||
},
|
},
|
||||||
},
|
}] : []),
|
||||||
],
|
],
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
|
|||||||
Reference in New Issue
Block a user