FIX: Don't downcase "all groups" in dropdown
Because this doesn't make sense in languages other than English
This commit is contained in:
parent
6805cc287e
commit
9c8645b9e1
|
@ -62,7 +62,7 @@ acceptance("Group - Anonymous", function (needs) {
|
|||
|
||||
assert.equal(
|
||||
groupDropdown.rowByIndex(0).name(),
|
||||
I18n.t("groups.index.all").toLowerCase()
|
||||
I18n.t("groups.index.all")
|
||||
);
|
||||
|
||||
this.siteSettings.enable_group_directory = false;
|
||||
|
|
|
@ -25,7 +25,7 @@ export default ComboBoxComponent.extend({
|
|||
const shortcuts = [];
|
||||
|
||||
if (this.enableGroupDirectory || this.get("currentUser.staff")) {
|
||||
shortcuts.push(I18n.t("groups.index.all").toLowerCase());
|
||||
shortcuts.push(I18n.t("groups.index.all"));
|
||||
}
|
||||
|
||||
return shortcuts.concat(this.groups);
|
||||
|
|
Loading…
Reference in New Issue