File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -354,9 +354,7 @@ export default class {
354354
355355 if ( ! template ) {
356356 let layout = component . get ( 'layout' ) ;
357- if ( layout ) {
358- layout = this . getGlimmerEnvironment ( ) . getTemplate ( layout ) ;
359- } else {
357+ if ( ! layout ) {
360358 let componentName = component . get ( '_debugContainerKey' ) ;
361359 if ( componentName ) {
362360 let layoutName = componentName . replace ( / c o m p o n e n t : / , 'template:components/' ) ;
@@ -553,16 +551,6 @@ export default class {
553551 }
554552 }
555553
556- /**
557- * The glimmer environment is needed for looking up templates.
558- *
559- * @method getGlimmerEnvironment
560- * @return {Class } The glimmer environment
561- */
562- getGlimmerEnvironment ( ) {
563- return this . container . lookup ( 'service:-glimmer-environment' ) ;
564- }
565-
566554 /**
567555 * Renders a rectangle around a component's element. This happens
568556 * when the user either hovers over the view tree components
You can’t perform that action at this time.
0 commit comments