Match-id-8a23de5aec1505a2c6c8e028a30493badb356e08
This commit is contained in:
parent
b9da0f800a
commit
3124afc8f8
|
@ -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