mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-04 13:56:07 +02:00
cleanup
This commit is contained in:
@@ -187,6 +187,20 @@ export const useAvatarStore = defineStore('Avatar', () => {
|
||||
database.clearAvatarHistory();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Array} value
|
||||
*/
|
||||
function setAvatarHistory(value) {
|
||||
avatarHistory.value = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {*} value
|
||||
*/
|
||||
function setLoadingToastId(value) {
|
||||
loadingToastId.value = value;
|
||||
}
|
||||
|
||||
return {
|
||||
avatarDialog,
|
||||
avatarHistory,
|
||||
@@ -200,6 +214,8 @@ export const useAvatarStore = defineStore('Avatar', () => {
|
||||
getAvatarGallery,
|
||||
updateVRChatAvatarCache,
|
||||
clearAvatarHistory,
|
||||
setAvatarHistory,
|
||||
setLoadingToastId,
|
||||
setAvatarDialogVisible,
|
||||
setAvatarDialogIsFavorite,
|
||||
setAvatarDialogLoading
|
||||
|
||||
Reference in New Issue
Block a user