mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-01 11:19:57 +00:00
move clean to handleFile and loadGraphData functions
This commit is contained in:
@@ -721,6 +721,8 @@ class ComfyApp {
|
||||
* @param {*} graphData A serialized graph object
|
||||
*/
|
||||
loadGraphData(graphData) {
|
||||
this.clean();
|
||||
|
||||
if (!graphData) {
|
||||
graphData = defaultGraph;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user