From 61203f77cf850b07a6da57ea4257bcfeea200ae5 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Tue, 9 Apr 2019 21:35:09 -0700 Subject: [PATCH] Hide toggle arrows in owners list mode --- src/devtools/views/Components/Element.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/devtools/views/Components/Element.js b/src/devtools/views/Components/Element.js index c3cc65c0cf..f696a1e3cd 100644 --- a/src/devtools/views/Components/Element.js +++ b/src/devtools/views/Components/Element.js @@ -30,6 +30,7 @@ export default function ElementView({ data, index, style }: Props) { const { baseDepth, getElementAtIndex, + ownerStack, selectOwner, selectedElementID, selectElementByID, @@ -136,7 +137,9 @@ export default function ElementView({ data, index, style }: Props) { marginBottom: `-${style.height}px`, }} > - + {ownerStack.length === 0 ? ( + + ) : null} {key && (