We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 742dabb commit 072811aCopy full SHA for 072811a
ember_debug/libs/render-tree.js
@@ -43,9 +43,9 @@ class InElementSupportProvider {
43
44
const pushElement = NewElementBuilder.prototype.pushElement;
45
NewElementBuilder.prototype.pushElement = function (...args) {
46
- const parent = this.env.debugRenderTree.stack.current;
+ const parent = this.env?.debugRenderTree.stack.current;
47
args[0].__emberInspectorParentNode =
48
- this.env.debugRenderTree.nodeFor(parent);
+ this.env?.debugRenderTree.nodeFor(parent);
49
return pushElement.call(this, ...args);
50
};
51
0 commit comments