diff --git a/src/pages/department/index.tsx b/src/pages/department/index.tsx index 43b8427..d8b4ada 100644 --- a/src/pages/department/index.tsx +++ b/src/pages/department/index.tsx @@ -413,16 +413,6 @@ const DepartmentPage = () => {
{contextHolder}
- } - p="department-cud" - onClick={() => setCreateVisible(true)} - disabled={null} - /> - {ldapEnabled ? ( { onClick={() => ldapSync()} disabled={null} /> - ) : null} + ) : ( + } + p="department-cud" + onClick={() => setCreateVisible(true)} + disabled={null} + /> + )}
}