mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
dict, lazy_set: Return an iterator from values method.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
45d3be5449
commit
9e1343ff8a
@@ -55,7 +55,7 @@ exports.get_user_group_from_name = function (name) {
|
||||
};
|
||||
|
||||
exports.get_realm_user_groups = function () {
|
||||
return user_group_by_id_dict.values().sort(function (a, b) {
|
||||
return [...user_group_by_id_dict.values()].sort(function (a, b) {
|
||||
return a.id - b.id;
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user