New menu/workflows fixes (#3900)

* Fix auto queue

* Detect added nodes via search

* Fix loading workflows

* Add button click style
This commit is contained in:
pythongosssss
2024-06-28 06:07:19 +01:00
committed by GitHub
parent 264caca20e
commit 0d9009c96e
4 changed files with 19 additions and 5 deletions

View File

@@ -301,11 +301,11 @@ export class ComfyWorkflow {
load = async () => {
if (this.isOpen) {
await this.manager.app.loadGraphData(this.changeTracker.activeState, true, this);
await this.manager.app.loadGraphData(this.changeTracker.activeState, true, true, this);
} else {
const data = await this.getWorkflowData();
if (!data) return;
await this.manager.app.loadGraphData(data, true, this);
await this.manager.app.loadGraphData(data, true, true, this);
}
};