mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 03:41:58 +00:00
eslint: Fix unicorn/no-array-callback-reference.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
552f4e3d22
commit
6cd694b8e3
@@ -24,7 +24,7 @@ exports.build_default_stream_table = function () {
|
||||
const table = $("#admin_default_streams_table").expectOne();
|
||||
|
||||
const stream_ids = stream_data.get_default_stream_ids();
|
||||
const subs = stream_ids.map(stream_data.get_sub_by_id);
|
||||
const subs = stream_ids.map((stream_id) => stream_data.get_sub_by_id(stream_id));
|
||||
|
||||
list_render.create(table, subs, {
|
||||
name: "default_streams_list",
|
||||
|
||||
Reference in New Issue
Block a user