rmoved unused and console
This commit is contained in:
parent
d1c72291a3
commit
02600308e8
@ -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
|
||||||
|
@ -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>
|
||||||
|
@ -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
|
||||||
|
@ -0,0 +1,11 @@
|
|||||||
|
import React from 'react'
|
||||||
|
|
||||||
|
const ProjectServices = () => {
|
||||||
|
return (
|
||||||
|
<div className='row'>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default ProjectServices
|
@ -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 {
|
||||||
|
@ -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);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user