mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 03:23:50 +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
@@ -47,7 +47,7 @@ exports.get_group_typists = function (group) {
|
||||
};
|
||||
|
||||
exports.get_all_typists = function () {
|
||||
let typists = _.flatten(typist_dct.values(), true);
|
||||
let typists = _.flatten([...typist_dct.values()], true);
|
||||
typists = util.sorted_ids(typists);
|
||||
typists = _.uniq(typists, true);
|
||||
return typists;
|
||||
|
||||
Reference in New Issue
Block a user