mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 19:05:55 +00:00
Don't display label context menu items if there are no labels.
Caused by: 5e78b0c253
See: https://discourse.tt-rss.org/t/label-options-sometimes-not-showing-in-context-menu/366
This commit is contained in:
@@ -1740,7 +1740,7 @@ function headlinesMenuCommon(menu) {
|
||||
|
||||
var labels = getInitParam("labels");
|
||||
|
||||
if (labels) {
|
||||
if (labels && labels.length) {
|
||||
|
||||
menu.addChild(new dijit.MenuSeparator());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user