diff --git a/src/assets/scss/themes/_theme.dark_styles.scss b/src/assets/scss/themes/_theme.dark_styles.scss index 569b9fba..634f3b01 100644 --- a/src/assets/scss/themes/_theme.dark_styles.scss +++ b/src/assets/scss/themes/_theme.dark_styles.scss @@ -413,7 +413,8 @@ div.x-friend-list color: $--theme-text-2; } -.el-input.is-disabled .el-input__inner { +.el-input.is-disabled .el-input__inner, +.el-input.is-disabled .el-input__wrapper { background-color: hsl($--theme-hue, $--theme-saturation, 23%); } diff --git a/src/components/dialogs/GroupDialog/GroupDialog.vue b/src/components/dialogs/GroupDialog/GroupDialog.vue index 310f6916..31bcf8ce 100644 --- a/src/components/dialogs/GroupDialog/GroupDialog.vue +++ b/src/components/dialogs/GroupDialog/GroupDialog.vue @@ -896,6 +896,7 @@ { ); attemptingAutoLogin.value = false; handleLogoutEvent(); + AppApi.FlashWindow(); return; } state.autoLoginAttempts.add(new Date().getTime()); diff --git a/src/stores/game.js b/src/stores/game.js index e0a5c8d3..f9bfb0e8 100644 --- a/src/stores/game.js +++ b/src/stores/game.js @@ -74,8 +74,12 @@ export const useGameStore = defineStore('Game', () => { } async function sweepVRChatCache() { - const output = await AssetBundleManager.SweepCache(); - console.log('SweepCache', output); + try { + const output = await AssetBundleManager.SweepCache(); + console.log('SweepCache', output); + } catch (e) { + console.error('SweepCache failed', e); + } if (advancedSettingsStore.isVRChatConfigDialogVisible) { getVRChatCacheSize(); } @@ -170,7 +174,7 @@ export const useGameStore = defineStore('Game', () => { avatarStore.addAvatarWearTime( userStore.currentUser.currentAvatar ); - userStore.currentUser.$previousAvatarSwapTime = ''; + userStore.currentUser.$previousAvatarSwapTime = null; } locationStore.lastLocationReset(); gameLogStore.clearNowPlaying(); diff --git a/src/stores/vrcStatus.js b/src/stores/vrcStatus.js index 3e796b9e..5e963f5b 100644 --- a/src/stores/vrcStatus.js +++ b/src/stores/vrcStatus.js @@ -76,6 +76,13 @@ export const useVrcStatusStore = defineStore('VrcStatus', () => { }); lastTimeFetched.value = Date.now(); const data = JSON.parse(response.data); + if (response.status !== 200) { + console.error('Failed to fetch VRChat status', response); + lastStatus.value = 'Failed to fetch VRC status'; + pollingInterval.value = 2 * 60 * 1000; // 2 minutes + updateAlert(); + return; + } lastStatusTime.value = new Date(data.page.updated_at); if (data.status.description === 'All Systems Operational') { lastStatus.value = ''; @@ -97,6 +104,10 @@ export const useVrcStatusStore = defineStore('VrcStatus', () => { Referer: 'https://vrcx.app' } }); + if (response.status !== 200) { + console.error('Failed to fetch VRChat status summary', response); + return; + } const data = JSON.parse(response.data); let summary = ''; for (const component of data.components) {