File tree 1 file changed +2
-2
lines changed
packages/applet/src/modules/components
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
import { computed , onUnmounted , ref , watch } from ' vue'
3
3
import { Pane , Splitpanes } from ' splitpanes'
4
4
import type { CustomInspectorNode , CustomInspectorState } from ' @vue/devtools-kit'
5
- import { isInChromePanel , sortByKey } from ' @vue/devtools-shared'
5
+ import { isInChromePanel , isInSeparateWindow , sortByKey } from ' @vue/devtools-shared'
6
6
import {
7
7
DevToolsMessagingEvents ,
8
8
rpc ,
@@ -289,7 +289,7 @@ function closeComponentRenderCode() {
289
289
<div v-if =" componentTreeLoaded" class =" h-full flex flex-col p2" >
290
290
<div class =" flex py2" >
291
291
<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" >
293
293
<svg
294
294
xmlns =" http://www.w3.org/2000/svg"
295
295
style =" height : 1.1em ; width : 1.1em ;"
You can’t perform that action at this time.
0 commit comments