mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
eslint: Fix unicorn/prefer-spread.
This was initially disabled for IE/Babel-related reasons that no longer apply. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
941a9bab38
commit
2a70c11c5f
@@ -160,7 +160,7 @@ export function group_edit_url(group) {
|
||||
|
||||
export function search_public_streams_notice_url(operators) {
|
||||
const public_operator = {operator: "streams", operand: "public"};
|
||||
return operators_to_hash([public_operator].concat(operators));
|
||||
return operators_to_hash([public_operator, ...operators]);
|
||||
}
|
||||
|
||||
export function parse_narrow(hash) {
|
||||
|
||||
Reference in New Issue
Block a user