mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-05 14:26:06 +02:00
Fix select avatar
This commit is contained in:
@@ -610,16 +610,15 @@ export const useAvatarStore = defineStore('Avatar', () => {
|
||||
});
|
||||
return;
|
||||
}
|
||||
avatarRequest
|
||||
return avatarRequest
|
||||
.selectAvatar({
|
||||
avatarId: id
|
||||
})
|
||||
.then((args) => {
|
||||
new Noty({
|
||||
type: 'success',
|
||||
text: 'Avatar changed via launch command'
|
||||
}).show();
|
||||
return args;
|
||||
.then(() => {
|
||||
$app.$message({
|
||||
message: 'Avatar changed',
|
||||
type: 'success'
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@@ -722,6 +721,7 @@ export const useAvatarStore = defineStore('Avatar', () => {
|
||||
getAvatarName,
|
||||
lookupAvatars,
|
||||
selectAvatarWithConfirmation,
|
||||
selectAvatarWithoutConfirmation,
|
||||
showAvatarAuthorDialog,
|
||||
addAvatarWearTime
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user