From 3b856e94da9a08aac10968ef9fd71db56a4a2c1c Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 1 Sep 2026 13:20:51 +0300 Subject: [PATCH] lint --- src/components/user_list_popover/user_list_popover.js | 3 +-- src/services/entity_normalizer/entity_normalizer.service.js | 6 ++++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/user_list_popover/user_list_popover.js b/src/components/user_list_popover/user_list_popover.js index baae422f1..f5a403be2 100644 --- a/src/components/user_list_popover/user_list_popover.js +++ b/src/components/user_list_popover/user_list_popover.js @@ -30,8 +30,7 @@ const UserListPopover = { .filter(Boolean) }, usersCapped() { - return [...this.users] - .slice(0, 16) + return [...this.users].slice(0, 16) }, allowNonSquareEmoji() { return useMergedConfigStore().mergedConfig.nonSquareEmoji diff --git a/src/services/entity_normalizer/entity_normalizer.service.js b/src/services/entity_normalizer/entity_normalizer.service.js index 2e6caf787..88e2fd0a5 100644 --- a/src/services/entity_normalizer/entity_normalizer.service.js +++ b/src/services/entity_normalizer/entity_normalizer.service.js @@ -386,8 +386,10 @@ export const parseLinkHeaderPagination = (linkHeader, opts = {}) => { const minId = parsedLinkHeader.prev?.min_id const result = {} - if (maxId !== undefined) result.maxId = flakeId ? maxId : Number.parseInt(maxId, 10) - if (minId !== undefined) result.minId = flakeId ? minId : Number.parseInt(minId, 10) + if (maxId !== undefined) + result.maxId = flakeId ? maxId : Number.parseInt(maxId, 10) + if (minId !== undefined) + result.minId = flakeId ? minId : Number.parseInt(minId, 10) return result }