fix: rebuild props panel when interaction type changes
Without this, switching type to 'module' didn't show the moduleId, ports, and Open IDE button until manually reselecting the entity. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1218,6 +1218,8 @@ function applyPropChange(prop, value, inputType) {
|
|||||||
|
|
||||||
updateEntityList();
|
updateEntityList();
|
||||||
render();
|
render();
|
||||||
|
// Rebuild props panel when type changes (shows/hides type-specific fields)
|
||||||
|
if (prop === 'type') updateProps();
|
||||||
}
|
}
|
||||||
|
|
||||||
// ==================== Export ====================
|
// ==================== Export ====================
|
||||||
|
|||||||
Reference in New Issue
Block a user