fix-department-ui #5
@@ -155,7 +155,6 @@ export default function DepartmentPage() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="p-6 space-y-6">
|
<div className="p-6 space-y-6">
|
||||||
{/* HEADER */}
|
|
||||||
<div className="flex flex-col md:flex-row md:justify-between md:items-center gap-3">
|
<div className="flex flex-col md:flex-row md:justify-between md:items-center gap-3">
|
||||||
<h1 className="text-2xl font-bold">Departments</h1>
|
<h1 className="text-2xl font-bold">Departments</h1>
|
||||||
|
|
||||||
@@ -188,7 +187,6 @@ export default function DepartmentPage() {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* TABLE */}
|
|
||||||
<Card>
|
<Card>
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle>Department List</CardTitle>
|
<CardTitle>Department List</CardTitle>
|
||||||
@@ -279,7 +277,6 @@ export default function DepartmentPage() {
|
|||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
{/* ADD / EDIT MODAL */}
|
|
||||||
<Dialog open={openModal} onOpenChange={setOpenModal}>
|
<Dialog open={openModal} onOpenChange={setOpenModal}>
|
||||||
<DialogContent className="w-full !max-w-5xl max-h-[90vh] overflow-y-auto">
|
<DialogContent className="w-full !max-w-5xl max-h-[90vh] overflow-y-auto">
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
@@ -347,7 +344,6 @@ export default function DepartmentPage() {
|
|||||||
</DialogContent>
|
</DialogContent>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
|
|
||||||
{/* VIEW MODAL */}
|
|
||||||
<Dialog open={viewOpen} onOpenChange={setViewOpen}>
|
<Dialog open={viewOpen} onOpenChange={setViewOpen}>
|
||||||
<DialogContent className="w-full !max-w-5xl max-h-[90vh] overflow-y-auto">
|
<DialogContent className="w-full !max-w-5xl max-h-[90vh] overflow-y-auto">
|
||||||
{" "}
|
{" "}
|
||||||
|
|||||||
Reference in New Issue
Block a user