Skip to content

Commit

Permalink
fix: hide inspector button when not available
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Feb 16, 2025
1 parent 9f3c8bf commit 684897f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/devtools/src/runtime/plugins/view/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ onMounted(() => {
{{ time[2] }}
</span>
</div>
<template v-if="client.inspector">
<template v-if="client.inspector?.instance">
<div
style="border-left: 1px solid #8883;width:1px;height:10px;"
class="nuxt-devtools-panel-content"
Expand Down

0 comments on commit 684897f

Please sign in to comment.