File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/applet/src/modules/components Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 22import { computed , onUnmounted , ref , watch } from ' vue'
33import { Pane , Splitpanes } from ' splitpanes'
44import type { CustomInspectorNode , CustomInspectorState } from ' @vue/devtools-kit'
5- import { isInChromePanel , sortByKey } from ' @vue/devtools-shared'
5+ import { isInChromePanel , isInSeparateWindow , sortByKey } from ' @vue/devtools-shared'
66import {
77 DevToolsMessagingEvents ,
88 rpc ,
@@ -289,7 +289,7 @@ function closeComponentRenderCode() {
289289 <div v-if =" componentTreeLoaded" class =" h-full flex flex-col p2" >
290290 <div class =" flex py2" >
291291 <VueInput v-model =" filterComponentName" :loading-debounce-time =" 250" :loading =" !filtered" placeholder =" Find components..." class =" flex-1 text-3.5" />
292- <button v-tooltip.bottom =" 'Select component in the page'" px-1 class =" hover:(color-#00dc82)" @click =" inspectComponentInspector" >
292+ <button v-if = " !isInSeparateWindow " v- tooltip.bottom =" 'Select component in the page'" px-1 class =" hover:(color-#00dc82)" @click =" inspectComponentInspector" >
293293 <svg
294294 xmlns =" http://www.w3.org/2000/svg"
295295 style =" height : 1.1em ; width : 1.1em ;"
You can’t perform that action at this time.
0 commit comments