mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
eslint: Fix unicorn/explicit-length-check. (#32666)
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -520,7 +520,7 @@ export function check_system_user_group_allowed_for_setting(
|
||||
return false;
|
||||
}
|
||||
|
||||
if (allowed_system_groups.length && !allowed_system_groups.includes(group_name)) {
|
||||
if (allowed_system_groups.length > 0 && !allowed_system_groups.includes(group_name)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user