mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
use action from store instead of directly modifying state in components
This commit is contained in:
@@ -193,7 +193,7 @@ export const useModerationStore = defineStore('Moderation', () => {
|
||||
})
|
||||
.then((res) => {
|
||||
// TODO: compare with cachedAvatarModerations
|
||||
avatarStore.cachedAvatarModerations = new Map();
|
||||
avatarStore.resetCachedAvatarModerations();
|
||||
if (res[1]?.json) {
|
||||
for (const json of res[1].json) {
|
||||
avatarStore.applyAvatarModeration(json);
|
||||
|
||||
Reference in New Issue
Block a user