yazid138 3 年之前
父節點
當前提交
2a333e04e6
共有 1 個文件被更改,包括 4 次插入2 次删除
  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>
 												);