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 @@ @@ -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