]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
feat(devtools): send instance
authorGuillaume Chau <guillaume.b.chau@gmail.com>
Fri, 18 Dec 2020 17:24:01 +0000 (18:24 +0100)
committerGuillaume Chau <guillaume.b.chau@gmail.com>
Fri, 18 Dec 2020 17:24:01 +0000 (18:24 +0100)
packages/runtime-core/src/devtools.ts

index 61d3023799e929a3bab38c82ae2e5d096e09ffcf..a2df299c26f331528d1cfd34021842277d8231aa 100644 (file)
@@ -67,7 +67,8 @@ function createDevtoolsComponentHook(hook: DevtoolsHooks) {
       hook,
       component.appContext.app,
       component.uid,
-      component.parent ? component.parent.uid : undefined
+      component.parent ? component.parent.uid : undefined,
+      component
     )
   }
 }