From acaa2e4c356e847ad60672e896b527d9edf7445e Mon Sep 17 00:00:00 2001 From: Weixuan Fu Date: Sun, 4 Aug 2024 17:50:33 +0800 Subject: [PATCH] add some logging for workflow restore --- ui/src/topbar/AppIsDirtyEventListener.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/src/topbar/AppIsDirtyEventListener.tsx b/ui/src/topbar/AppIsDirtyEventListener.tsx index 8be08e7..3aeb3a4 100644 --- a/ui/src/topbar/AppIsDirtyEventListener.tsx +++ b/ui/src/topbar/AppIsDirtyEventListener.tsx @@ -67,8 +67,13 @@ export default function AppIsDirtyEventListener() { return; } const id = app.graph.extra?.[COMFYSPACE_TRACKING_FIELD_NAME]?.id; + console.log("🦄 Restoring workflow... id=", id); if (id) { const flow = await workflowsTable?.get(id); + console.log( + "🦄 Restored workflow", + flow?.parentFolderID + "/" + flow?.name, + ); flow && setCurFlowIDAndName(flow); if (