Small changes

This commit is contained in:
Natsumi
2025-11-17 20:17:44 +11:00
parent fd73bdae90
commit fdeb8fa38f
3 changed files with 5 additions and 5 deletions

View File

@@ -524,7 +524,7 @@ namespace VRCX
}
var message = webException.Message;
if (webException.InnerException != null)
if (webException.InnerException != null && webException.InnerException != webException)
message += $" | Inner Exception: {webException.InnerException}";
return new Tuple<int, string>(
-1,
@@ -534,7 +534,7 @@ namespace VRCX
catch (Exception e)
{
var message = e.Message;
if (e.InnerException != null)
if (e.InnerException != null && e.InnerException != e)
message += $" | Inner Exception: {e.InnerException}";
return new Tuple<int, string>(
-1,

View File

@@ -1,4 +1,4 @@
import { reactive, ref, watch } from 'vue';
import { reactive, ref, shallowReactive, watch } from 'vue';
import { defineStore } from 'pinia';
import { useI18n } from 'vue-i18n';
@@ -37,7 +37,7 @@ export const useGalleryStore = defineStore('Gallery', () => {
instanceInventoryQueueWorker: null
});
const cachedEmoji = new Map();
const cachedEmoji = shallowReactive(new Map());
const galleryTable = ref([]);

View File

@@ -1436,7 +1436,7 @@
const vrState = reactive({
appType: new URLSearchParams(window.location.search).has('wrist') ? 'wrist' : 'hmd',
appLanguage: 'en',
currentCulture: 'en-nz',
currentCulture: 'en-gb',
currentTime: new Date().toJSON(),
cpuUsageEnabled: false,
cpuUsage: '0',