Fix VIP filter at startup for feed and gameLog

This commit is contained in:
Natsumi
2025-10-03 12:24:41 +13:00
parent d5082d894b
commit 61bc798b91
6 changed files with 31 additions and 11 deletions
+9
View File
@@ -79,6 +79,15 @@ export const useFeedStore = defineStore('Feed', () => {
{ flush: 'sync' }
);
watch(
() => watchState.isFavoritesLoaded,
(isFavoritesLoaded) => {
if (isFavoritesLoaded && state.feedTable.vip) {
feedTableLookup(); // re-apply VIP filter after friends are loaded
}
}
);
function feedSearch(row) {
const value = state.feedTable.search.toUpperCase();
if (!value) {