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
+2 -2
View File
@@ -524,7 +524,7 @@ namespace VRCX
} }
var message = webException.Message; var message = webException.Message;
if (webException.InnerException != null) if (webException.InnerException != null && webException.InnerException != webException)
message += $" | Inner Exception: {webException.InnerException}"; message += $" | Inner Exception: {webException.InnerException}";
return new Tuple<int, string>( return new Tuple<int, string>(
-1, -1,
@@ -534,7 +534,7 @@ namespace VRCX
catch (Exception e) catch (Exception e)
{ {
var message = e.Message; var message = e.Message;
if (e.InnerException != null) if (e.InnerException != null && e.InnerException != e)
message += $" | Inner Exception: {e.InnerException}"; message += $" | Inner Exception: {e.InnerException}";
return new Tuple<int, string>( return new Tuple<int, string>(
-1, -1,
+2 -2
View File
@@ -1,4 +1,4 @@
import { reactive, ref, watch } from 'vue'; import { reactive, ref, shallowReactive, watch } from 'vue';
import { defineStore } from 'pinia'; import { defineStore } from 'pinia';
import { useI18n } from 'vue-i18n'; import { useI18n } from 'vue-i18n';
@@ -37,7 +37,7 @@ export const useGalleryStore = defineStore('Gallery', () => {
instanceInventoryQueueWorker: null instanceInventoryQueueWorker: null
}); });
const cachedEmoji = new Map(); const cachedEmoji = shallowReactive(new Map());
const galleryTable = ref([]); const galleryTable = ref([]);
+1 -1
View File
@@ -1436,7 +1436,7 @@
const vrState = reactive({ const vrState = reactive({
appType: new URLSearchParams(window.location.search).has('wrist') ? 'wrist' : 'hmd', appType: new URLSearchParams(window.location.search).has('wrist') ? 'wrist' : 'hmd',
appLanguage: 'en', appLanguage: 'en',
currentCulture: 'en-nz', currentCulture: 'en-gb',
currentTime: new Date().toJSON(), currentTime: new Date().toJSON(),
cpuUsageEnabled: false, cpuUsageEnabled: false,
cpuUsage: '0', cpuUsage: '0',