Fix friended tooltip

This commit is contained in:
Natsumi
2026-01-31 08:19:39 +13:00
committed by pa
parent f7ebbe2135
commit 14558238c5
2 changed files with 4 additions and 2 deletions

View File

@@ -935,6 +935,7 @@ export const useUserStore = defineStore('User', () => {
'Unfriend'
]
);
const dateFriendedInfo = [];
for (const notification of userNotifications) {
if (notification.userId !== D.id) {
continue;
@@ -972,11 +973,12 @@ export const useUserStore = defineStore('User', () => {
(notification.type === 'Unfriend' &&
!appearanceSettingsStore.hideUnfriends)
) {
D.dateFriendedInfo.push(
dateFriendedInfo.unshift(
notification
);
}
}
D.dateFriendedInfo = dateFriendedInfo;
displayNameMap.forEach(
(updated_at, displayName) => {
D.previousDisplayNames.push({