diff --git a/src/components/dialogs/AvatarDialog/AvatarDialog.vue b/src/components/dialogs/AvatarDialog/AvatarDialog.vue
index 8da70173..a9b4d0f4 100644
--- a/src/components/dialogs/AvatarDialog/AvatarDialog.vue
+++ b/src/components/dialogs/AvatarDialog/AvatarDialog.vue
@@ -568,8 +568,8 @@
-
-
+
+
@@ -649,7 +649,7 @@
const treeData = ref([]);
const timeSpent = ref(0);
const memo = ref('');
- const setAvatarTagsDialog = reactive({
+ const setAvatarTagsDialog = ref({
visible: false,
loading: false,
ownAvatars: [],
@@ -663,7 +663,7 @@
contentAdult: false,
contentSex: false
});
- const setAvatarStylesDialog = reactive({
+ const setAvatarStylesDialog = ref({
visible: false,
loading: false,
avatarId: '',
@@ -1063,7 +1063,7 @@
}
function showSetAvatarTagsDialog(avatarId) {
- const D = setAvatarTagsDialog;
+ const D = setAvatarTagsDialog.value;
D.visible = true;
D.loading = true;
D.ownAvatars = [];
@@ -1130,7 +1130,7 @@
}
function showSetAvatarStylesDialog() {
- const D = setAvatarStylesDialog;
+ const D = setAvatarStylesDialog.value;
D.visible = true;
D.loading = true;
D.avatarId = avatarDialog.value.id;
diff --git a/src/components/dialogs/AvatarDialog/SetAvatarStylesDialog.vue b/src/components/dialogs/AvatarDialog/SetAvatarStylesDialog.vue
index 9f149c92..8e03ced2 100644
--- a/src/components/dialogs/AvatarDialog/SetAvatarStylesDialog.vue
+++ b/src/components/dialogs/AvatarDialog/SetAvatarStylesDialog.vue
@@ -2,7 +2,8 @@
@@ -50,10 +51,8 @@
style="margin-top: 10px">
- {{
- t('dialog.set_avatar_styles.cancel')
- }}
- {{
+ {{ t('dialog.set_avatar_styles.cancel') }}
+ {{
t('dialog.set_avatar_styles.save')
}}
@@ -61,12 +60,13 @@
diff --git a/src/views/Profile/Profile.vue b/src/views/Profile/Profile.vue
index 124a0b5c..be312ebf 100644
--- a/src/views/Profile/Profile.vue
+++ b/src/views/Profile/Profile.vue
@@ -481,12 +481,11 @@
-
+
-
+ v-model:isExportFriendsListDialogVisible="isExportFriendsListDialogVisible"
+ :friends="friends" />
+
diff --git a/src/views/Profile/dialogs/EditInviteMessageDialog.vue b/src/views/Profile/dialogs/EditInviteMessageDialog.vue
index 6953b980..7467b815 100644
--- a/src/views/Profile/dialogs/EditInviteMessageDialog.vue
+++ b/src/views/Profile/dialogs/EditInviteMessageDialog.vue
@@ -72,7 +72,7 @@
});
throw new Error("VRChat API didn't update message, try again");
} else {
- ElMessage.success('Invite message updated');
+ ElMessage({ message: 'Invite message updated', type: 'success' });
}
return args;
});
diff --git a/src/views/Tools/dialogs/GalleryDialog.vue b/src/views/Tools/dialogs/GalleryDialog.vue
index c597f396..19669e7a 100644
--- a/src/views/Tools/dialogs/GalleryDialog.vue
+++ b/src/views/Tools/dialogs/GalleryDialog.vue
@@ -524,8 +524,7 @@
@click="consumeInventoryBundle(item.id)"
size="small"
:icon="Plus"
- style="float: right"
- circle>
+ style="float: right">
{{ t('dialog.gallery_icons.consume_bundle') }}
@@ -540,13 +539,7 @@
import { storeToRefs } from 'pinia';
import { ref } from 'vue';
import { useI18n } from 'vue-i18n';
- import {
- // inventoryRequest,
- miscRequest,
- userRequest,
- vrcPlusIconRequest,
- vrcPlusImageRequest
- } from '../../../api';
+ import { miscRequest, userRequest, vrcPlusIconRequest, vrcPlusImageRequest, inventoryRequest } from '../../../api';
import { AppDebug } from '../../../service/appConfig';
import { emojiAnimationStyleList, emojiAnimationStyleUrl } from '../../../shared/constants';
import { extractFileId, formatDateFilter, getEmojiFileName, getPrintFileName } from '../../../shared/utils';
@@ -1059,9 +1052,9 @@
async function consumeInventoryBundle(inventoryId) {
try {
- // const args = await inventoryRequest.consumeInventoryBundle({
- // inventoryId
- // });
+ await inventoryRequest.consumeInventoryBundle({
+ inventoryId
+ });
currentUserInventory.value.delete(inventoryId);
const array = inventoryTable.value;
const { length } = array;
@@ -1075,6 +1068,7 @@
} catch (error) {
console.error('Error consuming inventory bundle:', error);
}
+ // -- response --
// errors: []
// inventoryItems : []
// inventoryItemsCreated: 0