refactor usevuetable data

This commit is contained in:
pa
2026-01-24 19:25:00 +09:00
parent 2952f4d415
commit b4839c8ed5
23 changed files with 101 additions and 40 deletions

View File

@@ -231,7 +231,9 @@
const { table, pagination } = useVrcxVueTable({
persistKey: 'notifications',
data: notificationDisplayData,
get data() {
return notificationDisplayData.value;
},
columns,
getRowId: (row) => row.id ?? `${row.type}:${row.senderUserId ?? ''}:${row.created_at ?? ''}`,
initialSorting: [{ id: 'created_at', desc: true }],