Skip to content

Commit 9a1c300

Browse files
committed
Fix
1 parent cc94c64 commit 9a1c300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ui/src/v2/components/ct-code-editor/ct-code-editor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ export class CTCodeEditor extends BaseElement {
489489

490490
// getEntityId now properly dereferences cells with paths, so we get
491491
// the charm's intrinsic ID whether we call it on the cell or the value
492-
const charmIdObj = getEntityId(charmCell);
492+
const charmIdObj = getEntityId(charmCell.resolveAsCell());
493493
const charmId = charmIdObj?.["/"] || "";
494494
if (charmId === id) {
495495
return charmCell;

0 commit comments

Comments
 (0)