juci-core: juci should load even if questd is not running ref #14697
authorReidar Cederqvist <reidar.cederqvist@gmail.com>
Wed, 11 Apr 2018 08:24:07 +0000 (10:24 +0200)
committerReidar Cederqvist <reidar.cederqvist@gmail.com>
Wed, 11 Apr 2018 08:24:07 +0000 (10:24 +0200)
juci/src/js/navigation.js

index fdeff5a..19dd065 100644 (file)
@@ -87,6 +87,7 @@
                                return ch;
                        });
                        if(!exists){
+                               if(!item.children) item.children = [];
                                obj.children.push(item);
                        }
                };