refactor(ticket): remove redundant View action from ticket table

This commit is contained in:
2026-06-24 00:55:59 +05:30
parent 67237982c8
commit 2fc01f74e2

View File

@@ -2,7 +2,6 @@
import type { ReactNode } from 'react';
import type { ColumnDef } from '@tanstack/react-table';
import { Eye } from 'lucide-react';
import { DataTable } from '@/components/data-table';
import type { TicketListItem } from '@/types';
@@ -41,13 +40,6 @@ export function TicketTable({
toolbar={toolbar}
emptyTitle="No tickets found."
emptyDescription="Ticket rows will appear after video processing creates them."
actions={[
{
label: 'View',
icon: <Eye className="size-4" />,
onClick: onView,
},
]}
pagination={{
skip,
limit,
@@ -56,7 +48,6 @@ export function TicketTable({
onLimitChange,
}}
onRowClick={onView}
actionsSticky
/>
);
}