mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
eslint: Enable comma-dangle for functions.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
a79322bc94
commit
e014ea966a
@@ -39,7 +39,7 @@ exports.get_filtered_items = (value, list, opts) => {
|
||||
if (get_item) {
|
||||
return opts.filter.filterer(
|
||||
list.map(get_item),
|
||||
value
|
||||
value,
|
||||
);
|
||||
}
|
||||
return opts.filter.filterer(list, value);
|
||||
@@ -159,12 +159,12 @@ exports.create = function ($container, list, opts) {
|
||||
meta.filtered_list = exports.get_filtered_items(
|
||||
meta.filter_value,
|
||||
meta.list,
|
||||
opts
|
||||
opts,
|
||||
);
|
||||
|
||||
if (meta.sorting_function) {
|
||||
meta.filtered_list.sort(
|
||||
meta.sorting_function
|
||||
meta.sorting_function,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user