More UI improvements
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
import { ImageViewer } from "$lib/ImageViewer";
|
||||
import type { ComfyAPIStatus } from "$lib/api";
|
||||
import { SvelteToast, toast } from '@zerodevx/svelte-toast'
|
||||
import defaultGraph from "$lib/defaultGraph"
|
||||
|
||||
import { LGraph } from "@litegraph-ts/core";
|
||||
import LightboxModal from "./LightboxModal.svelte";
|
||||
@@ -132,7 +131,7 @@
|
||||
async function doLoadDefault() {
|
||||
var confirmed = confirm("Are you sure you want to clear the current workflow and load the default graph?");
|
||||
if (confirmed) {
|
||||
await app.deserialize(defaultGraph)
|
||||
await app.initDefaultGraph();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user