mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
eslint: Fix unicorn/explicit-length-check. (#32666)
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -111,7 +111,7 @@ export function searching(): boolean {
|
||||
export function render_empty_user_list_message_if_needed($container: JQuery): void {
|
||||
const empty_list_message = $container.attr("data-search-results-empty");
|
||||
|
||||
if (!empty_list_message || $container.children().length) {
|
||||
if (!empty_list_message || $container.children().length > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user