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