diff --git a/app/Http/Controllers/Data/ProfilController.php b/app/Http/Controllers/Data/ProfilController.php index 3701c9d41..3d73ecb4a 100644 --- a/app/Http/Controllers/Data/ProfilController.php +++ b/app/Http/Controllers/Data/ProfilController.php @@ -50,8 +50,9 @@ public function index() $page_title = 'Profil'; $page_description = 'Data Profil'; $status_pantau = checkWebsiteAccessibility(config('app.server_pantau')) ? 1 : 0; + $adaDesa = DataUmum::where('profil_id', $profil->id)->exists(); - return view('data.profil.edit', compact('page_title', 'page_description', 'profil', 'status_pantau')); + return view('data.profil.edit', compact('page_title', 'page_description', 'profil', 'status_pantau', 'adaDesa')); } /** diff --git a/catatan_rilis.md b/catatan_rilis.md index bdef07690..429b15bda 100644 --- a/catatan_rilis.md +++ b/catatan_rilis.md @@ -11,7 +11,8 @@ Di rilis versi v2406.1.0 di versi ini terdapat [untuk diisi] dan perbaikan lain 1. [#930](https://github.com/OpenSID/OpenDK/issues/930) Perbaikan link email pada halaman website. 2. [#934](https://github.com/OpenSID/OpenDK/issues/934) Perbaikan tampilan widget pegawai kecamatan. 3. [#927](https://github.com/OpenSID/OpenDK/issues/927) Perbaikan keterangan gagal impor jika desa tidak terdaftar. -4. [#963](https://github.com/OpenSID/OpenDK/issues/963) Perbaikan slug pada menu. +4. [#963](https://github.com/OpenSID/OpenDK/issues/963) Perbaikan slug pada menu. +5. [#961](https://github.com/OpenSID/OpenDK/issues/961) Perbaikan ubah profil saat data desa sudah ada. #### TEKNIS diff --git a/resources/views/data/profil/form_edit.blade.php b/resources/views/data/profil/form_edit.blade.php index 55ea2f96d..3afc31d13 100644 --- a/resources/views/data/profil/form_edit.blade.php +++ b/resources/views/data/profil/form_edit.blade.php @@ -3,7 +3,10 @@