We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ab4f74 commit 10629e1Copy full SHA for 10629e1
packages/shell-chrome/src/devtools-background.js
@@ -16,7 +16,7 @@ function createPanelIfHasVue () {
16
return
17
}
18
chrome.devtools.inspectedWindow.eval(
19
- '!!(window.__VUE_DEVTOOLS_GLOBAL_HOOK__.Vue || window.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.length)',
+ '!!(window.__VUE_DEVTOOLS_GLOBAL_HOOK__ && (window.__VUE_DEVTOOLS_GLOBAL_HOOK__.Vue || window.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.length))',
20
function (hasVue) {
21
if (!hasVue || created) {
22
0 commit comments