mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-29 03:33:47 +02:00
use action from store instead of directly modifying state in components
This commit is contained in:
@@ -319,6 +319,10 @@ export const useAvatarStore = defineStore('Avatar', () => {
|
||||
return ref;
|
||||
}
|
||||
|
||||
function resetCachedAvatarModerations() {
|
||||
cachedAvatarModerations.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@@ -797,6 +801,7 @@ export const useAvatarStore = defineStore('Avatar', () => {
|
||||
|
||||
showAvatarDialog,
|
||||
applyAvatarModeration,
|
||||
resetCachedAvatarModerations,
|
||||
getAvatarGallery,
|
||||
updateVRChatAvatarCache,
|
||||
getAvatarHistory,
|
||||
|
||||
Reference in New Issue
Block a user