mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 13:53:52 +02:00
Fixes
This commit is contained in:
@@ -76,8 +76,14 @@
|
||||
const { t } = useI18n();
|
||||
|
||||
const favoriteStore = useFavoriteStore();
|
||||
const { favoriteFriendGroups, favoriteAvatarGroups, favoriteWorldGroups, favoriteDialog } =
|
||||
storeToRefs(favoriteStore);
|
||||
const {
|
||||
favoriteFriendGroups,
|
||||
favoriteAvatarGroups,
|
||||
favoriteWorldGroups,
|
||||
favoriteDialog,
|
||||
localWorldFavoriteGroups,
|
||||
localAvatarFavoriteGroups
|
||||
} = storeToRefs(favoriteStore);
|
||||
const {
|
||||
localWorldFavGroupLength,
|
||||
addLocalWorldFavorite,
|
||||
@@ -87,9 +93,7 @@
|
||||
localAvatarFavGroupLength,
|
||||
removeLocalAvatarFavorite,
|
||||
removeLocalWorldFavorite,
|
||||
deleteFavoriteNoConfirm,
|
||||
localWorldFavoriteGroups,
|
||||
localAvatarFavoriteGroups
|
||||
deleteFavoriteNoConfirm
|
||||
} = favoriteStore;
|
||||
const { isLocalUserVrcPlusSupporter } = storeToRefs(useUserStore());
|
||||
|
||||
|
||||
@@ -100,8 +100,11 @@
|
||||
</template>
|
||||
|
||||
<div class="x-friend-list" style="max-height: none">
|
||||
<div v-if="!hideUserNotes" class="x-friend-item" style="width: 100%; cursor: pointer">
|
||||
<div class="detail" v-if="userDialog.note" @click="isEditNoteAndMemoDialogVisible = true">
|
||||
<div
|
||||
v-if="userDialog.note && !hideUserNotes"
|
||||
class="x-friend-item"
|
||||
style="width: 100%; cursor: pointer">
|
||||
<div class="detail" @click="isEditNoteAndMemoDialogVisible = true">
|
||||
<span class="name">{{ t('dialog.user.info.note') }}</span>
|
||||
<pre
|
||||
class="extra"
|
||||
|
||||
@@ -50,7 +50,10 @@ export async function initSentry(app) {
|
||||
error.message.includes('404') ||
|
||||
error.message.includes('500') ||
|
||||
error.message.includes('503') ||
|
||||
error.message.includes('database or disk is full')
|
||||
error.message.includes('database or disk is full') ||
|
||||
error.message.includes(
|
||||
'There is not enough space on the disk.'
|
||||
)
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -492,7 +492,12 @@
|
||||
D.metadata.creationDate = '';
|
||||
D.metadata.application = '';
|
||||
|
||||
const metadata = JSON.parse(json);
|
||||
let metadata = null;
|
||||
try {
|
||||
metadata = JSON.parse(json);
|
||||
} catch (e) {
|
||||
console.error('Error parsing screenshot metadata JSON:', e);
|
||||
}
|
||||
if (!metadata?.sourceFile) {
|
||||
D.metadata = {};
|
||||
D.metadata.error = 'Invalid file selected. Please select a valid VRChat screenshot.';
|
||||
|
||||
Reference in New Issue
Block a user