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> </div>
)} )}
{selectedWorkArea && ( {watchActivityId && (
<div className="col-12 text-start"> <div className="col-12 text-start">
<label className="form-label">Select Work Category</label> <label className="form-label">Select Work Category</label>
<select <select

View File

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

View File

@ -157,7 +157,17 @@ const WorkItem = ({
: "NA"} : "NA"}
</span> </span>
</td> </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 */} {/* Status - visible only on small screens */}
<td className="text-center d-sm-table-cell d-md-none"> <td className="text-center d-sm-table-cell d-md-none">
{hasWorkItem {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"], queryKey: ["empListByProjectAllocated"],
}); });
queryClient.removeQueries({ queryKey: ["projectEmployees"] }); queryClient.removeQueries({ queryKey: ["projectEmployees"] });
queryClient.removeQueries({ queryKey: ["EmployeeForTaskAssign"] });
if (variables.actionType === "assign") { if (variables.actionType === "assign") {
showToast("Employee Assigned Successfully", "success"); showToast("Employee Assigned Successfully", "success");
} else { } else {

View File

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