mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-26 00:05:45 +00:00
refactor(FE-239-238): Refactor UI & API Integration For Form Chickin & Chickin Details
This commit is contained in:
@@ -573,7 +573,7 @@ const ProjectFlockTable = () => {
|
||||
<ConfirmationModal
|
||||
ref={confirmModal.ref}
|
||||
type='success'
|
||||
text={`Apakah anda yakin ingin reject data transfer ke laying ini (${selectedRowIds.length} data)?`}
|
||||
text={`Apakah anda yakin ingin approve data Project Flock ini (${selectedRowIds.length} data)?`}
|
||||
secondaryButton={{
|
||||
text: 'Tidak',
|
||||
}}
|
||||
|
||||
@@ -284,8 +284,8 @@ const ProjectFlockChickinDetail = ({
|
||||
) {
|
||||
case 'DISETUJUI':
|
||||
return 'green';
|
||||
case 'DITOLAK':
|
||||
return 'red';
|
||||
case 'PENGAJUAN':
|
||||
return 'yellow';
|
||||
default:
|
||||
return 'gray';
|
||||
}
|
||||
|
||||
@@ -688,7 +688,6 @@ const ProjectFlockForm = ({
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
{JSON.stringify(formik.errors)}
|
||||
</form>
|
||||
{formType != 'add' && (
|
||||
<div className='flex flex-row gap-2 mb-6'>
|
||||
|
||||
Reference in New Issue
Block a user