yazid138 3 år sedan
förälder
incheckning
2a333e04e6
1 ändrade filer med 4 tillägg och 2 borttagningar
  1. 4 2
      pages/app/pelaporan/index.js

+ 4 - 2
pages/app/pelaporan/index.js

@@ -1,7 +1,7 @@
 import React, { Component } from "react";
 import Router from "next/router";
 import ContentWrapper from "@/components/Layout/ContentWrapper";
-import { Row, Col, Progress } from "reactstrap";
+import { Row, Col, Progress, Button } from "reactstrap";
 import { getPelaporan } from "../../../actions/pelaporan";
 
 import Sparkline from "@/components/Common/Sparklines";
@@ -158,7 +158,9 @@ class Pelaporan extends Component {
 															<div className="inline wd-xxs badge badge-success">open</div>
 														</td>
 														<td>
-															<button onClick={(e) => this.detailLaporanClick(e, value.pt_id, value.number)}>Detail</button>
+															<Button color="primary" onClick={(e) => this.detailLaporanClick(e, value.pt_id, value.number)}>
+																Detail
+															</Button>
 														</td>
 													</tr>
 												);