devtools icon indicating copy to clipboard operation
devtools copied to clipboard

fix: ComponentInspector icon should be greyed out or not shown when componentInspector: false is set in the nuxt config file

Open HummingMind opened this issue 1 year ago â€ĸ 0 comments

🐛 The bug

Disabling the Component Inspector via the nuxt config file: devtools: { componentInspector: false, enabled: true } does not disable the inspector icon in the devtools UI. So if yo click on it, you get stuck, because you cannot select anything, but you also can't cancel out of it.

image

So I have to reload the page to continue.

đŸ› ī¸ To reproduce

Any nuxt app

🌈 Expected behavior

The inspector icon/button should either be greyed out (disabled) or now be shown in the first place, since the functionality is disabled.

â„šī¸ Additional context

No response

HummingMind avatar Sep 29 '24 16:09 HummingMind