devtools
devtools copied to clipboard
fix: ComponentInspector icon should be greyed out or not shown when componentInspector: false is set in the nuxt config file
đ 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.
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