Commit 643443b2 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Fix sorting of packages tree.

The leaf property happened to have three possible values: true, false, undefined.
But it was assumed there's only two. Eliminated the undefined case.
parent 882b1572
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -96,6 +96,7 @@ Ext.define('Docs.view.cls.PackageLogic', {
      return {
        text: this.shortName(name),
        iconCls: "icon-pkg",
        leaf: false,
        children: []
      };
    },