This commit is contained in:
pa
2026-03-03 23:31:55 +09:00
parent c68bbe9904
commit 492ba14047
3 changed files with 6 additions and 18 deletions
+1
View File
@@ -1310,6 +1310,7 @@
}, },
"info": { "info": {
"header": "Info", "header": "Info",
"name": "Name",
"id": "Avatar ID", "id": "Avatar ID",
"id_tooltip": "Copy to clipboard", "id_tooltip": "Copy to clipboard",
"copy_id": "Copy ID", "copy_id": "Copy ID",
+1 -1
View File
@@ -407,7 +407,7 @@ export const useNotificationStore = defineStore('Notification', () => {
const seeQueue = []; const seeQueue = [];
const seenIds = new Set(); const seenIds = new Set();
let seeProcessing = false; let seeProcessing = false;
const SEE_CONCURRENCY = 5; const SEE_CONCURRENCY = 2;
async function processSeeQueue() { async function processSeeQueue() {
if (seeProcessing) return; if (seeProcessing) return;
+4 -17
View File
@@ -79,20 +79,6 @@ export function getColumns({
); );
} }
}, },
{
id: 'index',
accessorFn: (_row, index) => index + 1,
header: ({ column }) =>
sortButton({ column, label: 'No.', descFirst: true }),
size: 60,
enableResizing: false,
meta: {
class: 'text-right'
},
cell: ({ row }) => (
<span class="text-muted-foreground">{row.index + 1}</span>
)
},
{ {
id: 'thumbnail', id: 'thumbnail',
header: () => null, header: () => null,
@@ -114,8 +100,9 @@ export function getColumns({
}, },
{ {
id: 'name', id: 'name',
accessorKey: 'name', accessorKey: 'Name',
header: ({ column }) => sortButton({ column, label: 'Name' }), header: ({ column }) =>
sortButton({ column, label: t('dialog.avatar.info.name') }),
size: 200, size: 200,
cell: ({ row }) => { cell: ({ row }) => {
const ref = row.original; const ref = row.original;
@@ -134,7 +121,7 @@ export function getColumns({
}, },
{ {
id: 'platforms', id: 'platforms',
header: () => 'Platforms', header: () => t('dialog.avatar.info.platform'),
size: 120, size: 120,
enableSorting: false, enableSorting: false,
cell: ({ row }) => { cell: ({ row }) => {