rmoved unused and console

This commit is contained in:
pramod.mahajan 2025-09-29 16:53:24 +05:30
parent d1c72291a3
commit 02600308e8
6 changed files with 25 additions and 3 deletions

View File

@ -276,7 +276,7 @@ const TaskModel = ({ project, onSubmit, onClose }) => {
</div>
)}
{selectedWorkArea && (
{watchActivityId && (
<div className="col-12 text-start">
<label className="form-label">Select Work Category</label>
<select

View File

@ -130,6 +130,7 @@ const WorkArea = ({ workArea, floor, forBuilding }) => {
<thead>
<tr>
<th className="infra-activity-table-header-first">Activity</th>
<th className="infra-activity-table-header-second">Service</th>
<th className="infra-activity-table-header d-sm-table-cell d-md-none">
Status
</th>

View File

@ -157,7 +157,17 @@ const WorkItem = ({
: "NA"}
</span>
</td>
<td className="text-center d-sm-table-cell ">
{hasWorkItem
? NewWorkItem?.workItem?.activityMaster?.activityGroupMaster?.service?.name ??
workItem?.activityMaster?.activityGroupMaster?.service?.name ??
"NA"
: "NA"}
{" "}
{hasWorkItem
? NewWorkItem?.workItem?.activityMaster?.activityGroupMaster?.service?.name
: "NA"}
</td>
{/* Status - visible only on small screens */}
<td className="text-center d-sm-table-cell d-md-none">
{hasWorkItem

View File

@ -0,0 +1,11 @@
import React from 'react'
const ProjectServices = () => {
return (
<div className='row'>
</div>
)
}
export default ProjectServices

View File

@ -429,6 +429,7 @@ export const useManageProjectAllocation = ({
queryKey: ["empListByProjectAllocated"],
});
queryClient.removeQueries({ queryKey: ["projectEmployees"] });
queryClient.removeQueries({ queryKey: ["EmployeeForTaskAssign"] });
if (variables.actionType === "assign") {
showToast("Employee Assigned Successfully", "success");
} else {

View File

@ -12,7 +12,6 @@ export const TasksRepository = {
const payloadJsonString = encodeURIComponent(JSON.stringify(filter));
url += `&filter=${payloadJsonString}`;
}
debugger
return api.get(url);
},