From 45e7371fa8a9515ce28eb00036f734e669bfafeb Mon Sep 17 00:00:00 2001 From: Robert Wagner Date: Thu, 22 Feb 2018 10:49:56 -0500 Subject: [PATCH] Fix loading main outlet --- ember_debug/libs/glimmer-tree.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ember_debug/libs/glimmer-tree.js b/ember_debug/libs/glimmer-tree.js index c635bd3701..68dad0a2e1 100644 --- a/ember_debug/libs/glimmer-tree.js +++ b/ember_debug/libs/glimmer-tree.js @@ -325,7 +325,9 @@ export default class { * @return {Object} The application outlet state */ getApplicationOutlet() { - return this.getRoot().outletState.outlets.main; + // Support multiple paths to outletState for various Ember versions + const outletState = this.getRoot().outletState || this.getRoot().state.ref.outletState; + return outletState.outlets.main; } /**