feat: 게시물 파일 첨부 최대 갯수 및 크기 제한 작업

This commit is contained in:
2025-05-09 12:59:08 +09:00
parent 18dbb368c6
commit a138c5fdf3
9 changed files with 93 additions and 91 deletions
@@ -6,7 +6,7 @@ import type { Post } from "@/entities/post";
export const columns: ColumnDef<Post & { isUpndFixPost?: boolean }>[] = [
{
id: "no",
accessorKey: "rowNo",
header: "NO",
cell: ({ row }) => {
if (row.original.isUpndFixPost) {
@@ -19,7 +19,7 @@ export const columns: ColumnDef<Post & { isUpndFixPost?: boolean }>[] = [
</Badge>
);
}
return row.index + 1;
return row.original.rowNo;
},
},
{