|
|
@ -145,7 +145,6 @@ const ImportActivity = ({ params }) => { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
setDatatable(dataMapped) |
|
|
|
setDatatable(dataMapped) |
|
|
|
setIsPreview(true) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
@ -317,16 +316,13 @@ const ImportActivity = ({ params }) => { |
|
|
|
</Spin> |
|
|
|
</Spin> |
|
|
|
</CardBody> |
|
|
|
</CardBody> |
|
|
|
</Card> |
|
|
|
</Card> |
|
|
|
<Prompt |
|
|
|
|
|
|
|
when={isPreview} |
|
|
|
|
|
|
|
message={() => 'Import Activity belum disave ingin meninggalkan halaman ini?'} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
|
|
|
|
{isPreview ? null : <Prompt message='Import Activity belum disave ingin meninggalkan halaman ini?' />} |
|
|
|
<NotificationContainer /> |
|
|
|
<NotificationContainer /> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<Row> |
|
|
|
<Row> |
|
|
@ -386,10 +382,6 @@ const ImportActivity = ({ params }) => { |
|
|
|
/> |
|
|
|
/> |
|
|
|
</CardBody> |
|
|
|
</CardBody> |
|
|
|
</Card> |
|
|
|
</Card> |
|
|
|
<Prompt |
|
|
|
|
|
|
|
when={isPreview} |
|
|
|
|
|
|
|
message={() => 'Import Activity belum disave ingin meninggalkan halaman ini?'} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|