feat(upload): open upload details dialog from table rows

This commit is contained in:
2026-07-22 19:12:52 +05:30
parent 062e89fcba
commit 3891500cf2
6 changed files with 158 additions and 155 deletions

View File

@@ -12,6 +12,7 @@ interface UploadTableProps {
skip: number;
limit: number;
total: number;
onUploadClick: (upload: UploadListItem) => void;
onPageChange: (skip: number) => void;
onLimitChange: (limit: number) => void;
}
@@ -23,6 +24,7 @@ export function UploadTable({
skip,
limit,
total,
onUploadClick,
onPageChange,
onLimitChange,
}: UploadTableProps) {
@@ -33,6 +35,7 @@ export function UploadTable({
isLoading={isLoading}
emptyTitle="No uploads found"
emptyDescription="Upload your first road inspection video."
onRowClick={onUploadClick}
pagination={{
skip,
limit,