rmoved unused and console
This commit is contained in:
parent
d1c72291a3
commit
02600308e8
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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"],
|
||||
});
|
||||
queryClient.removeQueries({ queryKey: ["projectEmployees"] });
|
||||
queryClient.removeQueries({ queryKey: ["EmployeeForTaskAssign"] });
|
||||
if (variables.actionType === "assign") {
|
||||
showToast("Employee Assigned Successfully", "success");
|
||||
} else {
|
||||
|
@ -12,7 +12,6 @@ export const TasksRepository = {
|
||||
const payloadJsonString = encodeURIComponent(JSON.stringify(filter));
|
||||
url += `&filter=${payloadJsonString}`;
|
||||
}
|
||||
debugger
|
||||
|
||||
return api.get(url);
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user