removed unused code
This commit is contained in:
parent
b9c240261c
commit
839dfa3dc3
@ -23,6 +23,7 @@ import {
|
||||
import { refreshData } from "../../../slices/localVariablesSlice";
|
||||
import GlobalModel from "../../common/GlobalModel";
|
||||
import { useDeleteMasterItem } from "../../../hooks/masterHook/useMaster";
|
||||
import { useSelector } from "react-redux";
|
||||
|
||||
const WorkItem = ({
|
||||
workItem,
|
||||
@ -31,7 +32,7 @@ const WorkItem = ({
|
||||
forWorkArea,
|
||||
deleteHandleTask,
|
||||
}) => {
|
||||
// const { projectId } = useParams();
|
||||
// const projectId = useSelector((store)=>store.localVariables.projectId)
|
||||
const isTaskPlanning = /^\/activities\/task$/.test(location.pathname);
|
||||
|
||||
const [itemName, setItemName] = useState("");
|
||||
@ -239,7 +240,7 @@ const isTaskPlanning = /^\/activities\/task$/.test(location.pathname);
|
||||
</td>
|
||||
|
||||
{(ManageInfra ||
|
||||
(!projectId &&
|
||||
(
|
||||
ManageAndAssignTak &&
|
||||
PlannedWork !== CompletedWork)) && (
|
||||
<td className="text-end align-items-middle border-top">
|
||||
|
Loading…
x
Reference in New Issue
Block a user