[Frontend] Unable to remove workflow in Beta UI
Related PR: https://github.com/comfyanonymous/ComfyUI/pull/3112
Reproduction Steps:
- Click x on a workflow
- Click
Noin the popup dialog
- Click workflow tab to verify that a new workflow is created
This probably has the same cause as the issue I mentioned in the pull request conversation.
When you delete "Unsaved Workflow (5)", it creates an "Unsaved Workflow (6)" instead of returning to "Unsaved Workflow".
If you simply select "Unsaved Workflow", it would also create an "Unsaved Workflow (6)" copy, instead. It never returns to a previous unsaved workflow in the list. It just keeps adding copies, if you try to switch between 2 unsaved workflows.
Here, deleting one of the workflows, is what would cause the switching between workflows, but a new copy is created instead.
Show me where the code for this is and I will look for a solution, is this installed by node or part of ComfyUI?
It's part of Comfy UI, but it's in "Beta". You can enable it in the settings. It was added a couple of days ago, but it's being worked on for a few months now ( see PR conversation: https://github.com/comfyanonymous/ComfyUI/pull/3112 )
Do you have any idea if this Beta thing saves and stores the queue in the workflow?
OK, it's working now.