[bugfix] Fix subgraph I/O slot rename dialog showing stale label content (#4852)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Chenlei Hu
2025-08-09 02:40:26 -04:00
committed by GitHub
parent c3997dfdb0
commit 10d80165c4
2 changed files with 158 additions and 1 deletions

View File

@@ -271,7 +271,7 @@ export abstract class SubgraphIONodeBase<
this.subgraph.canvasAction((c) =>
c.prompt(
'Slot name',
slot.name,
slot.displayName,
(newName: string) => {
if (newName) this.renameSlot(slot, newName)
},