mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-14 04:13:52 +02:00
fix instanceJoinHistory not populating at startup
This commit is contained in:
@@ -118,7 +118,10 @@ export const useInstanceStore = defineStore('Instance', () => {
|
||||
async function getInstanceJoinHistory() {
|
||||
try {
|
||||
const data = await database.getInstanceJoinHistory();
|
||||
replaceReactiveObject(instanceJoinHistory, data);
|
||||
instanceJoinHistory.clear();
|
||||
for (const [key, value] of data) {
|
||||
instanceJoinHistory.set(key, value);
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Failed to get instance join history:', error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user