Compare commits
No commits in common. "52b0b9b2da8d629d819460e3e953c20c9032ecb9" and "fd5bd1966d24f0e99775f577b5539c5d2465b293" have entirely different histories.
52b0b9b2da
...
fd5bd1966d
@ -1,4 +1,4 @@
|
|||||||
import React, { useState, useEffect, useCallback, useMemo } from "react";
|
import React, { useState, useEffect, useCallback } from "react";
|
||||||
import moment from "moment";
|
import moment from "moment";
|
||||||
import Avatar from "../common/Avatar";
|
import Avatar from "../common/Avatar";
|
||||||
import { convertShortTime } from "../../utils/dateUtils";
|
import { convertShortTime } from "../../utils/dateUtils";
|
||||||
@ -11,7 +11,7 @@ import { useSelector } from "react-redux";
|
|||||||
import { useQueryClient } from "@tanstack/react-query";
|
import { useQueryClient } from "@tanstack/react-query";
|
||||||
import eventBus from "../../services/eventBus";
|
import eventBus from "../../services/eventBus";
|
||||||
|
|
||||||
const Attendance = ({ getRole, handleModalData, searchTerm }) => {
|
const Attendance = ({ getRole, handleModalData }) => {
|
||||||
const queryClient = useQueryClient();
|
const queryClient = useQueryClient();
|
||||||
const [loading, setLoading] = useState(false);
|
const [loading, setLoading] = useState(false);
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
@ -48,34 +48,12 @@ const Attendance = ({ getRole, handleModalData, searchTerm }) => {
|
|||||||
.filter((d) => d.activity === 0)
|
.filter((d) => d.activity === 0)
|
||||||
.sort(sortByName);
|
.sort(sortByName);
|
||||||
|
|
||||||
const finalFilteredData = useMemo(() => {
|
const filteredData = [...group1, ...group2];
|
||||||
const combinedData = [...group1, ...group2];
|
|
||||||
if (!searchTerm) {
|
|
||||||
return combinedData;
|
|
||||||
}
|
|
||||||
const lowercasedSearchTerm = searchTerm.toLowerCase();
|
|
||||||
|
|
||||||
return combinedData.filter((item) => {
|
|
||||||
const fullName = `${item.firstName} ${item.lastName}`.toLowerCase();
|
|
||||||
const role = item.jobRoleName?.toLowerCase() || "";
|
|
||||||
return (
|
|
||||||
fullName.includes(lowercasedSearchTerm) ||
|
|
||||||
role.includes(lowercasedSearchTerm) // ✅ also search by role
|
|
||||||
);
|
|
||||||
});
|
|
||||||
}, [group1, group2, searchTerm]);
|
|
||||||
|
|
||||||
|
|
||||||
const { currentPage, totalPages, currentItems, paginate } = usePagination(
|
const { currentPage, totalPages, currentItems, paginate } = usePagination(
|
||||||
finalFilteredData,
|
filteredData,
|
||||||
ITEMS_PER_PAGE
|
ITEMS_PER_PAGE
|
||||||
);
|
);
|
||||||
|
|
||||||
// Reset pagination when the filter or search term changes
|
|
||||||
useEffect(() => {
|
|
||||||
}, [finalFilteredData]);
|
|
||||||
|
|
||||||
|
|
||||||
const handler = useCallback(
|
const handler = useCallback(
|
||||||
(msg) => {
|
(msg) => {
|
||||||
if (selectedProject == msg.projectId) {
|
if (selectedProject == msg.projectId) {
|
||||||
@ -94,7 +72,7 @@ const Attendance = ({ getRole, handleModalData, searchTerm }) => {
|
|||||||
|
|
||||||
const employeeHandler = useCallback(
|
const employeeHandler = useCallback(
|
||||||
(msg) => {
|
(msg) => {
|
||||||
if (attendance.some((item) => item.employeeId == msg.employeeId)) {
|
if (attendances.some((item) => item.employeeId == msg.employeeId)) {
|
||||||
attrecall();
|
attrecall();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -128,9 +106,7 @@ const Attendance = ({ getRole, handleModalData, searchTerm }) => {
|
|||||||
<label className="form-check-label ms-0">Show Pending</label>
|
<label className="form-check-label ms-0">Show Pending</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{attLoading ? (
|
{Array.isArray(attendance) && attendance.length > 0 ? (
|
||||||
<div>Loading...</div>
|
|
||||||
) : currentItems?.length > 0 ? (
|
|
||||||
<>
|
<>
|
||||||
<table className="table ">
|
<table className="table ">
|
||||||
<thead>
|
<thead>
|
||||||
@ -212,11 +188,12 @@ const Attendance = ({ getRole, handleModalData, searchTerm }) => {
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
{!loading && finalFilteredData.length > ITEMS_PER_PAGE && (
|
{!loading && filteredData.length > 20 && (
|
||||||
<nav aria-label="Page ">
|
<nav aria-label="Page ">
|
||||||
<ul className="pagination pagination-sm justify-content-end py-1">
|
<ul className="pagination pagination-sm justify-content-end py-1">
|
||||||
<li
|
<li
|
||||||
className={`page-item ${currentPage === 1 ? "disabled" : ""
|
className={`page-item ${
|
||||||
|
currentPage === 1 ? "disabled" : ""
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
@ -229,7 +206,8 @@ const Attendance = ({ getRole, handleModalData, searchTerm }) => {
|
|||||||
{[...Array(totalPages)].map((_, index) => (
|
{[...Array(totalPages)].map((_, index) => (
|
||||||
<li
|
<li
|
||||||
key={index}
|
key={index}
|
||||||
className={`page-item ${currentPage === index + 1 ? "active" : ""
|
className={`page-item ${
|
||||||
|
currentPage === index + 1 ? "active" : ""
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
@ -241,7 +219,8 @@ const Attendance = ({ getRole, handleModalData, searchTerm }) => {
|
|||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
<li
|
<li
|
||||||
className={`page-item ${currentPage === totalPages ? "disabled" : ""
|
className={`page-item ${
|
||||||
|
currentPage === totalPages ? "disabled" : ""
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
@ -255,15 +234,19 @@ const Attendance = ({ getRole, handleModalData, searchTerm }) => {
|
|||||||
</nav>
|
</nav>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
|
) : attLoading ? (
|
||||||
|
<div>Loading...</div>
|
||||||
) : (
|
) : (
|
||||||
<div className="text-muted my-4">
|
<div className="text-muted">
|
||||||
{searchTerm
|
{Array.isArray(attendance)
|
||||||
? "No results found for your search."
|
? "No employees assigned to the project"
|
||||||
: attendanceList.length === 0
|
: "Attendance data unavailable"}
|
||||||
? "No employees assigned to the project."
|
|
||||||
: "No pending records available."}
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{currentItems?.length == 0 && attendance.length > 0 && (
|
||||||
|
<div className="my-4"><span className="text-secondary">No Pending Record Available !</span></div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
@ -33,7 +33,9 @@ const usePagination = (data, itemsPerPage) => {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
const AttendanceLog = ({ handleModalData, searchTerm }) => {
|
const AttendanceLog = ({
|
||||||
|
handleModalData,
|
||||||
|
}) => {
|
||||||
const selectedProject = useSelector(
|
const selectedProject = useSelector(
|
||||||
(store) => store.localVariables.projectId
|
(store) => store.localVariables.projectId
|
||||||
);
|
);
|
||||||
@ -137,29 +139,17 @@ const AttendanceLog = ({ handleModalData, searchTerm }) => {
|
|||||||
filtering(data);
|
filtering(data);
|
||||||
}, [data, showPending]);
|
}, [data, showPending]);
|
||||||
|
|
||||||
// New useEffect to handle search filtering
|
|
||||||
const filteredSearchData = useMemo(() => {
|
|
||||||
if (!searchTerm) {
|
|
||||||
return processedData;
|
|
||||||
}
|
|
||||||
const lowercasedSearchTerm = searchTerm.toLowerCase();
|
|
||||||
return processedData.filter((item) => {
|
|
||||||
const fullName = `${item.firstName} ${item.lastName}`.toLowerCase();
|
|
||||||
return fullName.includes(lowercasedSearchTerm);
|
|
||||||
});
|
|
||||||
}, [processedData, searchTerm]);
|
|
||||||
|
|
||||||
const {
|
const {
|
||||||
currentPage,
|
currentPage,
|
||||||
totalPages,
|
totalPages,
|
||||||
currentItems: paginatedAttendances,
|
currentItems: paginatedAttendances,
|
||||||
paginate,
|
paginate,
|
||||||
resetPage,
|
resetPage,
|
||||||
} = usePagination(filteredSearchData, 20);
|
} = usePagination(processedData, 20);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
resetPage();
|
resetPage();
|
||||||
}, [filteredSearchData, resetPage]);
|
}, [processedData, resetPage]);
|
||||||
|
|
||||||
const handler = useCallback(
|
const handler = useCallback(
|
||||||
(msg) => {
|
(msg) => {
|
||||||
@ -172,21 +162,18 @@ const AttendanceLog = ({ handleModalData, searchTerm }) => {
|
|||||||
) {
|
) {
|
||||||
queryClient.setQueriesData(["attendanceLogs"],(oldData)=>{
|
queryClient.setQueriesData(["attendanceLogs"],(oldData)=>{
|
||||||
if(!oldData) {
|
if(!oldData) {
|
||||||
queryClient.invalidateQueries({ queryKey: ["attendanceLogs"] });
|
queryClient.invalidateQueries({queryKey:["attendanceLogs"]})
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
const updatedAttendance = oldData.map((record) =>
|
return oldData.map((record) =>
|
||||||
record.id === msg.response.id
|
record.id === msg.response.id ? { ...record, ...msg.response } : record
|
||||||
? { ...record, ...msg.response }
|
|
||||||
: record
|
|
||||||
);
|
);
|
||||||
|
})
|
||||||
|
|
||||||
filtering(updatedAttendance);
|
filtering(updatedAttendance);
|
||||||
return updatedAttendance;
|
|
||||||
});
|
|
||||||
resetPage();
|
resetPage();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[selectedProject, dateRange, filtering, resetPage]
|
[selectedProject, dateRange, data, filtering, resetPage]
|
||||||
);
|
);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@ -209,7 +196,7 @@ const AttendanceLog = ({ handleModalData, searchTerm }) => {
|
|||||||
refetch()
|
refetch()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[selectedProject, dateRange, data, refetch]
|
[selectedProject, dateRange, data]
|
||||||
);
|
);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@ -253,10 +240,8 @@ const AttendanceLog = ({ handleModalData, searchTerm }) => {
|
|||||||
</div>
|
</div>
|
||||||
<div className="table-responsive text-nowrap">
|
<div className="table-responsive text-nowrap">
|
||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
<div>
|
<div><p className="text-secondary">Loading...</p></div>
|
||||||
<p className="text-secondary">Loading...</p>
|
) : data?.length > 0 ? (
|
||||||
</div>
|
|
||||||
) : filteredSearchData?.length > 0 ? (
|
|
||||||
<table className="table mb-0">
|
<table className="table mb-0">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -347,12 +332,10 @@ const AttendanceLog = ({ handleModalData, searchTerm }) => {
|
|||||||
<div className="my-4"><span className="text-secondary">No Record Available !</span></div>
|
<div className="my-4"><span className="text-secondary">No Record Available !</span></div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{paginatedAttendances?.length == 0 && filteredSearchData?.length > 0 && (
|
{paginatedAttendances?.length == 0 && data?.length > 0 && (
|
||||||
<div className="my-4">
|
<div className="my-4"><span className="text-secondary">No Pending Record Available !</span></div>
|
||||||
<span className="text-secondary">No Pending Record Available !</span>
|
|
||||||
</div>
|
|
||||||
)}
|
)}
|
||||||
{filteredSearchData.length > 10 && (
|
{processedData.length > 10 && (
|
||||||
<nav aria-label="Page ">
|
<nav aria-label="Page ">
|
||||||
<ul className="pagination pagination-sm justify-content-end py-1">
|
<ul className="pagination pagination-sm justify-content-end py-1">
|
||||||
<li className={`page-item ${currentPage === 1 ? "disabled" : ""}`}>
|
<li className={`page-item ${currentPage === 1 ? "disabled" : ""}`}>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import React, { useCallback, useEffect, useState, useMemo } from "react";
|
import React, { useCallback, useEffect, useState } from "react";
|
||||||
import Avatar from "../common/Avatar";
|
import Avatar from "../common/Avatar";
|
||||||
import { convertShortTime } from "../../utils/dateUtils";
|
import { convertShortTime } from "../../utils/dateUtils";
|
||||||
import RegularizationActions from "./RegularizationActions";
|
import RegularizationActions from "./RegularizationActions";
|
||||||
@ -10,7 +10,7 @@ import eventBus from "../../services/eventBus";
|
|||||||
import { cacheData, clearCacheKey } from "../../slices/apiDataManager";
|
import { cacheData, clearCacheKey } from "../../slices/apiDataManager";
|
||||||
import { useQueryClient } from "@tanstack/react-query";
|
import { useQueryClient } from "@tanstack/react-query";
|
||||||
|
|
||||||
const Regularization = ({ handleRequest, searchTerm }) => {
|
const Regularization = ({ handleRequest }) => {
|
||||||
const queryClient = useQueryClient();
|
const queryClient = useQueryClient();
|
||||||
var selectedProject = useSelector((store) => store.localVariables.projectId);
|
var selectedProject = useSelector((store) => store.localVariables.projectId);
|
||||||
const [regularizesList, setregularizedList] = useState([]);
|
const [regularizesList, setregularizedList] = useState([]);
|
||||||
@ -30,6 +30,8 @@ const Regularization = ({ handleRequest, searchTerm }) => {
|
|||||||
const handler = useCallback(
|
const handler = useCallback(
|
||||||
(msg) => {
|
(msg) => {
|
||||||
if (selectedProject == msg.projectId) {
|
if (selectedProject == msg.projectId) {
|
||||||
|
|
||||||
|
|
||||||
queryClient.setQueryData(
|
queryClient.setQueryData(
|
||||||
["regularizedList", selectedProject],
|
["regularizedList", selectedProject],
|
||||||
(oldData) => {
|
(oldData) => {
|
||||||
@ -45,27 +47,12 @@ const Regularization = ({ handleRequest, searchTerm }) => {
|
|||||||
[selectedProject, regularizes]
|
[selectedProject, regularizes]
|
||||||
);
|
);
|
||||||
|
|
||||||
// Filter the data based on the search term and sort it
|
const filteredData = [...regularizesList]?.sort(sortByName);
|
||||||
const filteredSearchData = useMemo(() => {
|
|
||||||
const sortedList = [...regularizesList].sort(sortByName);
|
|
||||||
if (!searchTerm) {
|
|
||||||
return sortedList;
|
|
||||||
}
|
|
||||||
const lowercasedSearchTerm = searchTerm.toLowerCase();
|
|
||||||
return sortedList.filter((item) => {
|
|
||||||
const fullName = `${item.firstName} ${item.lastName}`.toLowerCase();
|
|
||||||
return fullName.includes(lowercasedSearchTerm);
|
|
||||||
});
|
|
||||||
}, [regularizesList, searchTerm]);
|
|
||||||
|
|
||||||
const { currentPage, totalPages, currentItems, paginate } =
|
|
||||||
usePagination(filteredSearchData, 20);
|
|
||||||
|
|
||||||
// Reset pagination when the search term or data changes
|
|
||||||
useEffect(() => {
|
|
||||||
|
|
||||||
}, [filteredSearchData]);
|
|
||||||
|
|
||||||
|
const { currentPage, totalPages, currentItems, paginate } = usePagination(
|
||||||
|
filteredData,
|
||||||
|
20
|
||||||
|
);
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
eventBus.on("regularization", handler);
|
eventBus.on("regularization", handler);
|
||||||
return () => eventBus.off("regularization", handler);
|
return () => eventBus.off("regularization", handler);
|
||||||
@ -143,9 +130,8 @@ const Regularization = ({ handleRequest, searchTerm }) => {
|
|||||||
</table>
|
</table>
|
||||||
) : (
|
) : (
|
||||||
<div className="my-4">
|
<div className="my-4">
|
||||||
<span className="text-secondary">
|
{" "}
|
||||||
{searchTerm ? "No results found for your search." : "No Requests Found !"}
|
<span className="text-secondary">No Requests Found !</span>
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{!loading && totalPages > 1 && (
|
{!loading && totalPages > 1 && (
|
||||||
|
|||||||
@ -25,7 +25,6 @@ import { useQueryClient } from "@tanstack/react-query";
|
|||||||
const AttendancePage = () => {
|
const AttendancePage = () => {
|
||||||
const [activeTab, setActiveTab] = useState("all");
|
const [activeTab, setActiveTab] = useState("all");
|
||||||
const [ShowPending, setShowPending] = useState(false);
|
const [ShowPending, setShowPending] = useState(false);
|
||||||
const [searchTerm, setSearchTerm] = useState(""); // 🔹 New state for search
|
|
||||||
const queryClient = useQueryClient();
|
const queryClient = useQueryClient();
|
||||||
const loginUser = getCachedProfileData();
|
const loginUser = getCachedProfileData();
|
||||||
const selectedProject = useSelector((store) => store.localVariables.projectId);
|
const selectedProject = useSelector((store) => store.localVariables.projectId);
|
||||||
@ -70,18 +69,17 @@ const AttendancePage = () => {
|
|||||||
setIsCreateModalOpen(false);
|
setIsCreateModalOpen(false);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const handleToggle = (event) => {
|
||||||
|
setShowOnlyCheckout(event.target.checked);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (modelConfig !== null) {
|
if (modelConfig !== null) {
|
||||||
openModel();
|
openModel();
|
||||||
}
|
}
|
||||||
}, [modelConfig, isCreateModalOpen]);
|
}, [modelConfig, isCreateModalOpen]);
|
||||||
|
|
||||||
// Handler to change tab and reset search term
|
|
||||||
const handleTabChange = (tabName) => {
|
|
||||||
setActiveTab(tabName);
|
|
||||||
setSearchTerm(""); // Reset search term when tab changes
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isCreateModalOpen && modelConfig && (
|
{isCreateModalOpen && modelConfig && (
|
||||||
@ -123,7 +121,7 @@ const AttendancePage = () => {
|
|||||||
className={`nav-link ${
|
className={`nav-link ${
|
||||||
activeTab === "all" ? "active" : ""
|
activeTab === "all" ? "active" : ""
|
||||||
} fs-6`}
|
} fs-6`}
|
||||||
onClick={() => handleTabChange("all")}
|
onClick={() => setActiveTab("all")}
|
||||||
data-bs-toggle="tab"
|
data-bs-toggle="tab"
|
||||||
data-bs-target="#navs-top-home"
|
data-bs-target="#navs-top-home"
|
||||||
>
|
>
|
||||||
@ -136,7 +134,7 @@ const AttendancePage = () => {
|
|||||||
className={`nav-link ${
|
className={`nav-link ${
|
||||||
activeTab === "logs" ? "active" : ""
|
activeTab === "logs" ? "active" : ""
|
||||||
} fs-6`}
|
} fs-6`}
|
||||||
onClick={() => handleTabChange("logs")}
|
onClick={() => setActiveTab("logs")}
|
||||||
data-bs-toggle="tab"
|
data-bs-toggle="tab"
|
||||||
data-bs-target="#navs-top-profile"
|
data-bs-target="#navs-top-profile"
|
||||||
>
|
>
|
||||||
@ -149,56 +147,36 @@ const AttendancePage = () => {
|
|||||||
className={`nav-link ${
|
className={`nav-link ${
|
||||||
activeTab === "regularization" ? "active" : ""
|
activeTab === "regularization" ? "active" : ""
|
||||||
} fs-6`}
|
} fs-6`}
|
||||||
onClick={() => handleTabChange("regularization")}
|
onClick={() => setActiveTab("regularization")}
|
||||||
data-bs-toggle="tab"
|
data-bs-toggle="tab"
|
||||||
data-bs-target="#navs-top-messages"
|
data-bs-target="#navs-top-messages"
|
||||||
>
|
>
|
||||||
Regularization
|
Regularization
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{/* 🔹 Search box placed after Regularization tab */}
|
|
||||||
<li className="nav-item ms-auto me-3">
|
|
||||||
<input
|
|
||||||
type="text"
|
|
||||||
className="form-control form-control-sm mt-1"
|
|
||||||
placeholder="Search Employee..."
|
|
||||||
value={searchTerm}
|
|
||||||
onChange={(e) => setSearchTerm(e.target.value)}
|
|
||||||
style={{ minWidth: "200px" }}
|
|
||||||
/>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div className="tab-content attedanceTabs py-0 px-1 px-sm-3">
|
<div className="tab-content attedanceTabs py-0 px-1 px-sm-3">
|
||||||
{selectedProject ? (
|
{selectedProject ? (
|
||||||
<>
|
<>
|
||||||
{activeTab === "all" && (
|
{activeTab === "all" && (
|
||||||
<div className="tab-pane fade show active py-0">
|
<div className="tab-pane fade show active py-0">
|
||||||
<Attendance
|
<Attendance handleModalData={handleModalData} getRole={getRole} />
|
||||||
handleModalData={handleModalData}
|
|
||||||
getRole={getRole}
|
|
||||||
searchTerm={searchTerm}
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{activeTab === "logs" && (
|
{activeTab === "logs" && (
|
||||||
<div className="tab-pane fade show active py-0">
|
<div className="tab-pane fade show active py-0">
|
||||||
<AttendanceLog
|
<AttendanceLog handleModalData={handleModalData} />
|
||||||
handleModalData={handleModalData}
|
|
||||||
searchTerm={searchTerm}
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{activeTab === "regularization" && DoRegularized && (
|
{activeTab === "regularization" && DoRegularized && (
|
||||||
<div className="tab-pane fade show active py-0">
|
<div className="tab-pane fade show active py-0">
|
||||||
<Regularization searchTerm={searchTerm} />
|
<Regularization />
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<div className="py-2">
|
<div className="py-2">
|
||||||
<small>Please Select Project!</small>
|
<small className="py-2">Please Select Project!</small>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user