Organization_Management : Organization Hierarchy #443

Merged
pramod.mahajan merged 180 commits from Organization_Management into main 2025-09-30 09:07:31 +00:00
4 changed files with 4 additions and 4 deletions
Showing only changes of commit 9c6450496e - Show all commits

View File

@ -427,7 +427,7 @@ const ManageEmployee = ({ employeeId, onClosed, IsAllEmployee }) => {
aria-label=""
>
<option disabled value="">
Select Role
Select Organization
</option>
{organzationList?.data
.sort((a, b) => a?.name?.localeCompare(b?.name))

View File

@ -43,7 +43,7 @@ const ManageProjectInfo = ({ project, onClose }) => {
true
);
const { mutate: UpdateProject, isPending } = useUpdateProject(() => {onClose?.()});
const {mutate:CeateProject,isPending:isCreating}= useCreateProject(()=>onClose?.())
const {mutate:CeateProject,isPending:isCreating} = useCreateProject(()=>{onClose?.()})
const {
register,

View File

@ -14,7 +14,7 @@ export const useProjectAccess = (projectId) => {
const canView = useHasUserPermission(VIEW_PROJECTS);
const loading = isLoading || !isFetched;
debugger
useEffect(() => {
if (projectId && !loading && !canView) {
showToast("You don't have permission to view project details", "warning");

View File

@ -325,7 +325,7 @@ export const useEmployeeForTaskAssign = (
// -- -------------Mutation-------------------------------
export const useCreateProject = ({ onSuccessCallback }) => {
export const useCreateProject = ( onSuccessCallback ) => {
const queryClient = useQueryClient();
return useMutation({