refactor global search

This commit is contained in:
pa
2026-03-14 19:59:21 +09:00
parent 45f3eacf21
commit b750d3fb9a
20 changed files with 655 additions and 181 deletions

View File

@@ -22,6 +22,7 @@
import { useI18n } from 'vue-i18n';
import { useAvatarStore, useUserStore } from '../../../stores';
import { removeAvatarFromCache } from '../../../coordinators/avatarCoordinator';
import { avatarRequest } from '../../../api';
import { processBulk } from '../../../services/request';
@@ -64,7 +65,7 @@
loading.value = true;
for (const ref of cachedAvatars.values()) {
if (ref.authorId === currentUser.value.id) {
cachedAvatars.delete(ref.id);
removeAvatarFromCache(ref.id);
}
}
const params = {