feed tree: don't set Special class on Labels category

This commit is contained in:
Andrew Dolgov 2020-02-21 14:12:10 +03:00
parent 2d3fdd6836
commit 282b445a43
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"],
if (item.auxcounter > 0) rc += " Has_Aux";
if (item.markedcounter > 0) rc += " Has_Marked";
if (item.updates_disabled > 0) rc += " UpdatesDisabled";
if (item.bare_id < 0 || item.bare_id == 0 && !is_cat) rc += " Special";
if (item.bare_id < 0 && !is_cat || item.bare_id == 0 && !is_cat) rc += " Special";
if (item.bare_id == -1 && is_cat) rc += " AlwaysVisible";
return rc;