Skip to content

Commit 684897f

Browse files
committedFeb 16, 2025
fix: hide inspector button when not available
1 parent 9f3c8bf commit 684897f

File tree

1 file changed

+1
-1
lines changed
  • packages/devtools/src/runtime/plugins/view

1 file changed

+1
-1
lines changed
 

‎packages/devtools/src/runtime/plugins/view/Main.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ onMounted(() => {
379379
{{ time[2] }}
380380
</span>
381381
</div>
382-
<template v-if="client.inspector">
382+
<template v-if="client.inspector?.instance">
383383
<div
384384
style="border-left: 1px solid #8883;width:1px;height:10px;"
385385
class="nuxt-devtools-panel-content"

0 commit comments

Comments
 (0)
Please sign in to comment.