diff --git a/desktop/plugins/public/layout/Inspector.tsx b/desktop/plugins/public/layout/Inspector.tsx index a56e31b58..06684aa75 100644 --- a/desktop/plugins/public/layout/Inspector.tsx +++ b/desktop/plugins/public/layout/Inspector.tsx @@ -414,6 +414,9 @@ export default class Inspector extends Component { if (!this.props.client.isConnected) { return; } + if (key === undefined || key == null) { + return; + } this.props.client .call(this.call().SET_HIGHLIGHTED, { id: key,