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:
Jose Luis
2026-03-21 00:44:09 +01:00
parent 9ffd9c113e
commit 0c0ab2fc9b

View File

@@ -1218,6 +1218,8 @@ function applyPropChange(prop, value, inputType) {
updateEntityList();
render();
// Rebuild props panel when type changes (shows/hides type-specific fields)
if (prop === 'type') updateProps();
}
// ==================== Export ====================