This commit is contained in:
Natsumi
2026-01-05 03:20:12 +13:00
parent c46f636584
commit 2cf3bc979c
3 changed files with 13 additions and 6 deletions

View File

@@ -805,7 +805,7 @@
:content="t('dialog.group.members.representing')">
<el-icon style="margin-right: 5px"><CollectionTag /></el-icon>
</el-tooltip>
<el-tooltip v-if="group.myMember.visibility !== 'visible'" placement="top">
<el-tooltip v-if="group.myMember?.visibility !== 'visible'" placement="top">
<template #content>
<span
>{{ t('dialog.group.members.visibility') }}
@@ -817,7 +817,11 @@
<span>({{ group.memberCount }})</span>
</span>
</div>
<el-dropdown trigger="click" size="small" style="margin-right: 5px">
<el-dropdown
v-if="group.myMember?.visibility"
trigger="click"
size="small"
style="margin-right: 5px">
<el-button :disabled="group.privacy !== 'default'" @click.stop size="small">
<span v-if="group.myMember.visibility === 'visible'">{{
t('dialog.group.tags.visible')

View File

@@ -364,7 +364,7 @@ export const useVrcxStore = defineStore('Vrcx', () => {
);
} catch (e) {
console.error('Failed to add screenshot metadata', e);
if (e.message.includes('UnauthorizedAccessException')) {
if (e.message?.includes('UnauthorizedAccessException')) {
ElMessage({
message:
'Failed to add screenshot metadata, access denied. Make sure VRCX has permission to access the screenshot folder.',

View File

@@ -46,9 +46,12 @@ export function useDateNavigation(allDateOfActivity, reloadData) {
const newIdx = allDateOfActivityArray.value.findIndex((date) =>
date.isBefore(selectedDate.value, 'day')
);
selectedDate.value = allDateOfActivityArray.value[newIdx].toDate();
reloadData();
return;
if (newIdx !== -1) {
selectedDate.value =
allDateOfActivityArray.value[newIdx].toDate();
reloadData();
return;
}
}
if (idx !== -1) {