@@ -30,7 +30,6 @@ export class Ringkasan extends Component {
render() {
const { dataLaporan, dataPelanggaran, dataUpload } = this.props
- console.log(this.props)
return (
<>
<Row>
@@ -123,10 +123,23 @@ export class TablePenetapanSanksi extends Component {
)
}
</tbody>
+
</table>
</Datatable>
+ {this.props.user?.role.id === 2020 ? (
+ labelSanksi.length && labelSanksi.filter((e) => e.labelSanksi === "Ringan" || e.labelSanksi === "Sedang").length === labelSanksi.length ? (
+ <Button className="btn-login float-right" color onClick={this.ondelegasi} >
+ <span className="font-color-white">
+ Delegasi ke LLDIKTI
+ </span>
+ </Button>
+ ) : ("")
+ }
</div>