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