FIX: Don't downcase "all groups" in dropdown

Because this doesn't make sense in languages other than English
This commit is contained in:
Gerhard Schlager 2021-07-13 17:09:41 +02:00 committed by Gerhard Schlager
parent 6805cc287e
commit 9c8645b9e1
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ acceptance("Group - Anonymous", function (needs) {
assert.equal( assert.equal(
groupDropdown.rowByIndex(0).name(), groupDropdown.rowByIndex(0).name(),
I18n.t("groups.index.all").toLowerCase() I18n.t("groups.index.all")
); );
this.siteSettings.enable_group_directory = false; this.siteSettings.enable_group_directory = false;

View File

@ -25,7 +25,7 @@ export default ComboBoxComponent.extend({
const shortcuts = []; const shortcuts = [];
if (this.enableGroupDirectory || this.get("currentUser.staff")) { 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); return shortcuts.concat(this.groups);