fix-department-ui #5

Merged
arjunsthampi merged 3 commits from fix-department-ui into dev 2026-03-26 12:33:03 +00:00
Showing only changes of commit 7bce00800b - Show all commits
-4
View File
@@ -155,7 +155,6 @@ export default function DepartmentPage() {
return (
<div className="p-6 space-y-6">
{/* HEADER */}
<div className="flex flex-col md:flex-row md:justify-between md:items-center gap-3">
<h1 className="text-2xl font-bold">Departments</h1>
@@ -188,7 +187,6 @@ export default function DepartmentPage() {
</div>
)}
{/* TABLE */}
<Card>
<CardHeader>
<CardTitle>Department List</CardTitle>
@@ -279,7 +277,6 @@ export default function DepartmentPage() {
</CardContent>
</Card>
{/* ADD / EDIT MODAL */}
<Dialog open={openModal} onOpenChange={setOpenModal}>
<DialogContent className="w-full !max-w-5xl max-h-[90vh] overflow-y-auto">
<DialogHeader>
@@ -347,7 +344,6 @@ export default function DepartmentPage() {
</DialogContent>
</Dialog>
{/* VIEW MODAL */}
<Dialog open={viewOpen} onOpenChange={setViewOpen}>
<DialogContent className="w-full !max-w-5xl max-h-[90vh] overflow-y-auto">
{" "}