Comfy-Org / Comfy-Org/ComfyUI_frontend

Changing tab while saving causes wrong workflow to be saved

Open
#10,820 2 comments 0 reactions 1 assignee Claimed by @dante01yoon View on GitHub
area:workflows Potential Bug
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.