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 }