diff --git a/src/components/surat/SKKelahiran.tsx b/src/components/surat/SKKelahiran.tsx
index f146ec2..5738241 100644
--- a/src/components/surat/SKKelahiran.tsx
+++ b/src/components/surat/SKKelahiran.tsx
@@ -7,7 +7,7 @@ export default function SKKelahiran({ data }: { data: any }) {
const getValue = (jenis: string) =>
_.upperFirst(
data.surat.dataText.find((item: any) => item.jenis === jenis)?.value ||
- "",
+ "",
);
const loadImage = async () => {
@@ -161,7 +161,7 @@ export default function SKKelahiran({ data }: { data: any }) {
| Tempat & Tanggal Lahir |
: |
- {`${getValue("tempat_lahir_ayah")}, ${"tanggal_lahir_ayah"}`} |
+ {`${getValue("tempat_lahir_ayah")}, ${getValue("tanggal_lahir_ayah")}`} |
| Pekerjaan |
diff --git a/src/pages/scr/dashboard/pelayanan-surat/detail_pelayanan_page.tsx b/src/pages/scr/dashboard/pelayanan-surat/detail_pelayanan_page.tsx
index e05f257..64d8ac7 100644
--- a/src/pages/scr/dashboard/pelayanan-surat/detail_pelayanan_page.tsx
+++ b/src/pages/scr/dashboard/pelayanan-surat/detail_pelayanan_page.tsx
@@ -163,6 +163,11 @@ function DetailDataPengajuan({
message: "Success send message to warga",
type: "success",
});
+
+ if (status == "selesai") {
+ onAction()
+ }
+
} else {
notification({
title: "Failed",