diff --git a/src/views/biz/pboard/ModifyPublicBoardForm.jsx b/src/views/biz/pboard/ModifyPublicBoardForm.jsx index 486e4cc..179ae48 100644 --- a/src/views/biz/pboard/ModifyPublicBoardForm.jsx +++ b/src/views/biz/pboard/ModifyPublicBoardForm.jsx @@ -115,7 +115,7 @@ const ModifyPublicBoardForm = (props) => { disabled={!owner} required label="제목" - value={subject} + value={subject || ''} onChange={(e) => setSubject(e.target.value)} fullWidth /> @@ -139,18 +139,18 @@ const ModifyPublicBoardForm = (props) => { - + - + - + - + @@ -162,7 +162,7 @@ const ModifyPublicBoardForm = (props) => { } }} readOnly={!owner} - value={contents} + value={contents || ''} onChange={setContents} modules={modules} formats={formats} diff --git a/src/views/biz/pboard/PublicBoard.jsx b/src/views/biz/pboard/PublicBoard.jsx index 0eed3f4..a2aa48b 100644 --- a/src/views/biz/pboard/PublicBoard.jsx +++ b/src/views/biz/pboard/PublicBoard.jsx @@ -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 ? : ''} ) }, - { 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(() => { diff --git a/src/views/cmm/file-ctl/FileForm.jsx b/src/views/cmm/file-ctl/FileForm.jsx index 13f1792..f600675 100644 --- a/src/views/cmm/file-ctl/FileForm.jsx +++ b/src/views/cmm/file-ctl/FileForm.jsx @@ -53,7 +53,7 @@ const FileForm = ({ }; FileForm.propTypes = { - isDownload: PropTypes.bool.isRequired, + isDownload: PropTypes.bool, labelName: PropTypes.string.isRequired, selectedFile: PropTypes.string, isDisabled: PropTypes.bool.isRequired,