|
|
|
@ -61,14 +61,15 @@ const PublicBoard = () => {
|
|
|
|
|
headerAlign: 'center',
|
|
|
|
|
field: 'inFile',
|
|
|
|
|
align: 'center',
|
|
|
|
|
width: 100,
|
|
|
|
|
width: 80,
|
|
|
|
|
renderCell: (params) => (
|
|
|
|
|
// console.log(params.row.inFilename);
|
|
|
|
|
<>{params.row.inFilename ? <IconFileText stroke={1.5} size="1rem" /> : ''}</>
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
|
{ headerName: '작성일자', headerAlign: 'center', field: 'inNalja', align: 'center', width: 130 },
|
|
|
|
|
{ headerName: '조회수', headerAlign: 'center', field: 'inHit', align: 'right', width: 100 }
|
|
|
|
|
{ headerName: '작성자', headerAlign: 'center', field: 'inName', align: 'center', width: 100 },
|
|
|
|
|
{ headerName: '작성일자', headerAlign: 'center', field: 'inNalja', align: 'center', width: 100 },
|
|
|
|
|
{ headerName: '조회수', headerAlign: 'center', field: 'inHit', align: 'right', width: 80 }
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
const search = useCallback(() => {
|
|
|
|
|