Fix user profile badges and random errors

This commit is contained in:
Natsumi
2025-10-18 22:41:13 +11:00
parent 71d4e57900
commit 893302f0ad
9 changed files with 30 additions and 16 deletions
+2 -2
View File
@@ -561,7 +561,7 @@ export const useUserStore = defineStore('User', () => {
}
}
for (const prop in json) {
if (typeof ref[prop] !== 'undefined') {
if (typeof json[prop] !== 'undefined') {
ref[prop] = json[prop];
}
}
@@ -1732,7 +1732,7 @@ export const useUserStore = defineStore('User', () => {
}
}
for (const prop in json) {
if (typeof ref[prop] !== 'undefined') {
if (typeof json[prop] !== 'undefined') {
ref[prop] = json[prop];
}
}