Skip to content

Commit 1ec41ea

Browse files
committed
readd show boxel spec preview
1 parent 0baf052 commit 1ec41ea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/host/app/components/operator-mode/code-submode.gts

+7
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,13 @@ export default class CodeSubmode extends Component<Signature> {
478478
return undefined;
479479
}
480480

481+
get showBoxelSpecPreview() {
482+
return (
483+
!this.moduleContentsResource.isLoading &&
484+
this.selectedDeclaration?.exportName
485+
);
486+
}
487+
481488
@action
482489
private selectDeclaration(dec: ModuleDeclaration) {
483490
this.goToDefinition(undefined, dec.localName);

0 commit comments

Comments
 (0)