Merge branch 'main' of https://code.sdsdev.co.kr/SDSRV-IDP/sbt-idp into main
This commit is contained in:
commit
23bd648deb
@ -1,8 +1,4 @@
|
||||
import {
|
||||
CheckCircleOutlined,
|
||||
DownloadOutlined,
|
||||
ExclamationCircleOutlined,
|
||||
} from '@ant-design/icons';
|
||||
import { DownloadOutlined } from '@ant-design/icons';
|
||||
import { Button, Tag } from 'antd';
|
||||
|
||||
const FileCard = ({ file, isSelected, onClick }) => {
|
||||
@ -55,24 +51,51 @@ const FileCard = ({ file, isSelected, onClick }) => {
|
||||
({extensionType})
|
||||
</span>
|
||||
</div>
|
||||
<div style={{display: 'flex', justifyContent: 'space-between', alignItems:'center'}}>
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
justifyContent: 'space-between',
|
||||
alignItems: 'center',
|
||||
}}
|
||||
>
|
||||
{isRequired ? (
|
||||
<>
|
||||
{isReviewd ? (
|
||||
<Tag
|
||||
color={isRequired ? 'warning' : ''}
|
||||
style={{ display: 'inline-block', fontWeight: 'bold' , textTransform: 'capitalize' }}
|
||||
color={'success'}
|
||||
style={{
|
||||
display: 'inline-block',
|
||||
fontWeight: 'bold',
|
||||
textTransform: 'capitalize',
|
||||
}}
|
||||
>
|
||||
Reviewd
|
||||
</Tag>
|
||||
) : (
|
||||
<Tag
|
||||
color={'warning'}
|
||||
style={{
|
||||
display: 'inline-block',
|
||||
fontWeight: 'bold',
|
||||
textTransform: 'capitalize',
|
||||
}}
|
||||
>
|
||||
Not reviewed
|
||||
</Tag>
|
||||
)}
|
||||
</>
|
||||
) : (
|
||||
<Tag
|
||||
style={{
|
||||
display: 'inline-block',
|
||||
fontWeight: 'bold',
|
||||
textTransform: 'capitalize',
|
||||
}}
|
||||
// bordered={false}
|
||||
>
|
||||
Required: {isRequired.toString()}
|
||||
Not required
|
||||
</Tag>
|
||||
|
||||
|
||||
<Tag
|
||||
color={isReviewd ? 'success' : 'warning'}
|
||||
style={{ display: 'inline-block', fontWeight: 'bold', textTransform: 'capitalize' }}
|
||||
// bordered={false}
|
||||
>
|
||||
Reviewed: {isReviewd.toString()}
|
||||
</Tag>
|
||||
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
<Button
|
||||
|
Loading…
Reference in New Issue
Block a user