diff --git a/components/notification/NotificationPaginator.vue b/components/notification/NotificationPaginator.vue index 0dd7f10c..6c08b264 100644 --- a/components/notification/NotificationPaginator.vue +++ b/components/notification/NotificationPaginator.vue @@ -70,7 +70,7 @@ function groupItems(items: Notification[]): NotificationSlot[] { } like[notification.type === 'reblog' ? 'reblog' : 'favourite'] = notification } - likes.sort((a, b) => b.reblog && !a.reblog ? 1 : -1) + likes.sort((a, b) => a.reblog ? !b.reblog || (a.favourite && !b.favourite) ? -1 : 0 : 0) results.push({ id: `grouped-${id++}`, type: 'grouped-reblogs-and-favourites',