diff --git a/js/PrefFilterTree.js b/js/PrefFilterTree.js index 4f4e02d95..4f6979f99 100644 --- a/js/PrefFilterTree.js +++ b/js/PrefFilterTree.js @@ -35,7 +35,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio }, getLabel: function(item) { - let label = item.name; + let label = String(item.name); const feed = this.model.store.getValue(item, 'feed'); const inverse = this.model.store.getValue(item, 'inverse'); @@ -46,10 +46,6 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio if (inverse) label += " (" + __("Inverse") + ")"; - /* if (item.param) - label = "" + label + - "" + item.param[0]; */ - return label; }, getIconClass: function (item, opened) {