Compare commits
No commits in common. "8c81e990b8b54856ac46ceff18fe2bdbb175873e" and "b052a85d242d041575c17f7384cfcd0b5ee014b7" have entirely different histories.
8c81e990b8
...
b052a85d24
@ -46,6 +46,8 @@ public function destroy(AcademicTerm $AcademicTerm): RedirectResponse
|
||||
{
|
||||
$this->service->delete($AcademicTerm);
|
||||
|
||||
return Inertia::flash('toast', ['type' => 'success', 'message' => 'Periode akademik berhasil dihapus.'])->back();
|
||||
Inertia::flash('toast', ['type' => 'success', 'message' => 'Periode akademik berhasil dihapus.']);
|
||||
|
||||
return back();
|
||||
}
|
||||
}
|
||||
|
||||
@ -46,6 +46,8 @@ public function destroy(Department $department): RedirectResponse
|
||||
{
|
||||
$this->service->delete($department);
|
||||
|
||||
return Inertia::flash('toast', ['type' => 'success', 'message' => 'Jurusan berhasil dihapus.'])->back();
|
||||
Inertia::flash('toast', ['type' => 'success', 'message' => 'Jurusan berhasil dihapus.']);
|
||||
|
||||
return back();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user