|
|
@@ -60,7 +60,7 @@ class Keberatan extends Component {
|
|
|
const { token, query } = this.props;
|
|
|
await updatePT(token, query.id, { is_pengajuan_keberatan: false })
|
|
|
toast.update(toastid, { render: "All is good", type: "success", isLoading: false, autoClose: true, closeButton: true });
|
|
|
- Router.push("/pt/dokumen-perbaikan");
|
|
|
+ Router.push(`/pt/dokumen-perbaikan/detail?id=${sanksi.data._id}`);
|
|
|
} catch (error) {
|
|
|
toast.update(toastid, { render: "All is not good", type: "error", isLoading: false, autoClose: true, closeButton: true });
|
|
|
}
|