From a405039c9b80ba5495b594ddef5cc9b87f652853 Mon Sep 17 00:00:00 2001 From: futpib Date: Sun, 16 Dec 2018 04:07:24 +0300 Subject: [PATCH] Fix acessing a property of undefined (Fix #1) --- components/graph/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/graph/index.js b/components/graph/index.js index c9bddb2..7b5a6ae 100644 --- a/components/graph/index.js +++ b/components/graph/index.js @@ -588,7 +588,7 @@ const ClientText = connect( const ModuleText = ({ dgo, pai }) => r(React.Fragment, [ r.div({ className: 'node-name', - title: pai.properties.module.description, + title: path([ 'properties', 'module', 'description' ], pai) || pai.name, }, pai.name), r(DebugText, { dgo, pai }), ]);