mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-05 06:16:05 +02:00
Clean up
This commit is contained in:
@@ -205,7 +205,7 @@ export const useAvatarStore = defineStore('Avatar', () => {
|
||||
D.galleryLoading = true;
|
||||
D.isFavorite =
|
||||
favoriteStore.cachedFavoritesByObjectId.has(avatarId) ||
|
||||
(userStore.currentUser.$isVRCPlus &&
|
||||
(userStore.isLocalUserVrcPlusSupporter &&
|
||||
favoriteStore.localAvatarFavoritesList.includes(avatarId));
|
||||
D.isBlocked = cachedAvatarModerations.has(avatarId);
|
||||
const ref2 = cachedAvatars.get(avatarId);
|
||||
|
||||
@@ -287,6 +287,10 @@ export const useUserStore = defineStore('User', () => {
|
||||
|
||||
const cachedUsers = new Map();
|
||||
|
||||
const isLocalUserVrcPlusSupporter = computed(
|
||||
() => state.currentUser.$isVRCPlus
|
||||
);
|
||||
|
||||
const currentUser = computed({
|
||||
get: () => state.currentUser,
|
||||
set: (value) => {
|
||||
@@ -2019,6 +2023,7 @@ export const useUserStore = defineStore('User', () => {
|
||||
showUserDialogHistory,
|
||||
customUserTags,
|
||||
cachedUsers,
|
||||
isLocalUserVrcPlusSupporter,
|
||||
applyCurrentUser,
|
||||
applyUser,
|
||||
showUserDialog,
|
||||
|
||||
Reference in New Issue
Block a user