Skip to content

Commit a377c7e

Browse files
committed
Merge branch 'dev/sbourne/support-periods-in-workflow-name' into 'main'
Fix an issue with the export which didn't produce the expected filename if the... See merge request lightspeedrtx/lss-ai-tools/comfyui-rtx_remix!48
2 parents ff5345d + 80dfcad commit a377c7e

4 files changed

Lines changed: 10 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515

1616
### Removed
1717

18+
## [2.2.1] - 2026-02-23
19+
20+
### Fixed
21+
22+
- Fixed an issue with the export dialog not properly handling workflows with `.` in them
23+
1824
## [2.2.0] - 2026-02-02
1925

2026
### Changed

VERSION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.0
1+
2.2.1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "ComfyUI-RTX-Remix"
33
description = "Use ComfyUI with the RTX Remix Toolkit to remaster classic games."
4-
version = "2.2.0"
4+
version = "2.2.1"
55
license = { file = "LICENSE" }
66
requires-python = ">=3.10"
77
dependencies = [

web/controllers/exportDialogController.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,8 @@ export async function showExportDialog({ app, defaultValue = "workflow" } = {})
196196

197197
// Handle export process
198198
async function handleExport(filename) {
199-
// Get filename stem (without extension) - backend adds .json automatically
200-
const lastDotIndex = filename.lastIndexOf(".");
201-
const workflowName = lastDotIndex > 0 ? filename.substring(0, lastDotIndex) : filename;
199+
// Strip .json extension if present - backend adds it automatically
200+
const workflowName = filename.endsWith(".json") ? filename.slice(0, -5) : filename;
202201

203202
setLoading(true, "Checking if file exists...");
204203

0 commit comments

Comments
 (0)