fix 7d1df38b0eb4c6cfec2ff0474ed8c4e9c9128118

This commit is contained in:
pa
2025-12-18 14:31:02 +09:00
committed by Natsumi
parent 49ae88a25e
commit 53aea66f18
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -185,6 +185,7 @@
return filteredData.value.slice(start, end); return filteredData.value.slice(start, end);
}); });
// Frictionless user experience when bigger than maxTableSize
const totalItems = computed(() => { const totalItems = computed(() => {
const length = filteredData.value.length; const length = filteredData.value.length;
const max = vrcxStore.maxTableSize; const max = vrcxStore.maxTableSize;
+2 -2
View File
@@ -396,7 +396,7 @@ export const useGameLogStore = defineStore('GameLog', () => {
if (!gameLogSearch(entry)) { if (!gameLogSearch(entry)) {
return; return;
} }
gameLogTable.value.data.push(entry); gameLogTable.value.data.push({ ...entry, uid: crypto.randomUUID() });
sweepGameLog(); sweepGameLog();
uiStore.notifyMenu('game-log'); uiStore.notifyMenu('game-log');
} }
@@ -945,7 +945,7 @@ export const useGameLogStore = defineStore('GameLog', () => {
} }
} }
notificationStore.queueGameLogNoty(entry); notificationStore.queueGameLogNoty(entry);
addGameLog({ ...entry, uid: crypto.randomUUID() }); addGameLog(entry);
} }
} }