mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
eslint: Fix unicorn/explicit-length-check. (#32666)
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -153,7 +153,7 @@ function process_result(data: MessageFetchResponse, opts: MessageFetchOptions):
|
||||
// messages not tracked in unread.ts during this fetching process.
|
||||
message_util.do_unread_count_updates(messages, true);
|
||||
|
||||
if (messages.length !== 0) {
|
||||
if (messages.length > 0) {
|
||||
if (opts.msg_list) {
|
||||
if (opts.validate_filter_topic_post_fetch) {
|
||||
opts.msg_list.data.filter.try_adjusting_for_moved_with_target(messages[0]);
|
||||
|
||||
Reference in New Issue
Block a user