Match-id-fad6e2255ca28f9b800944e58c8cde28a09b60e8
This commit is contained in:
commit
d7de35adbe
|
@ -52,7 +52,7 @@ function makeProxySnapshot(obj) {
|
|||
export const devtools = {
|
||||
// returns vNode id from horizon devtools
|
||||
getVNodeId: vNode => {
|
||||
if (!isPanelActive()) return;
|
||||
if (!isPanelActive() || !window['__HORIZON_DEV_HOOK__'].getVnodeId) return;
|
||||
window['__HORIZON_DEV_HOOK__'].send(); // update list first
|
||||
return window['__HORIZON_DEV_HOOK__'].getVnodeId(vNode);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue