diff --git a/filter.js b/filter.js index 6f1c4018..affdae26 100644 --- a/filter.js +++ b/filter.js @@ -33,6 +33,7 @@ function createCheckBoxFromCounter(counter, title, attrId) { dropdown_element.setAttribute("data-actions-box", "true"); dropdown_element.setAttribute("data-live-search", "true"); dropdown_element.setAttribute("data-selected-text-format", "count > 2"); + dropdown_element.setAttribute("data-none-selected-text", "No " + title + " selected"); dropdown_element.setAttribute("id", "dropdown" + attrId); dropdown_element.setAttribute("virtualScroll", 10); diff --git a/list_item.js b/list_item.js index 1ac27a38..0f403ae2 100644 --- a/list_item.js +++ b/list_item.js @@ -96,7 +96,7 @@ function createListGroupItemForIssue(issue) { var assignee_text_span = document.createElement("span"); var assignee_text = num_assignees + " assignee"; - if (num_assignees > 1) { + if (num_assignees > 1 || num_assignees === 0) { assignee_text += "s"; }