Comfy-Org / Comfy-Org/ComfyUI_frontend
Changing tab while saving causes wrong workflow to be saved
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
### Prerequisites
- [x] I am running the latest version of ComfyUI
- [x] I have custom nodes enabled
### What happened?
Close a tab on a workflow that has been changed, and select another workflow tab.
You are prompted to save the modified workflow you are saving. Click yes.
The workflow you have now selected gets saved with the filename of the one you closed, deleting that workflow.
### Steps to Reproduce
1. Steps described above.
2.
3.
### How is this affecting you?
Feature doesn't work as expected
### ComfyUI Frontend Version
1.42.8
### Browser
Chrome/Chromium
### Console Errors
```javascript
```
### Logs
```shell
```
### Additional Context
_No response_
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-10820-Changing-tab-while-saving-causes-wrong-workflow-to-be-saved-3366d73d365081a8b42ddc971a99bc4e) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.