refactor(ticket): remove redundant View action from ticket table
This commit is contained in:
@@ -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
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user