Correction in List view.

This commit is contained in:
Kartik Sharma 2025-12-08 16:33:44 +05:30
parent 36f802dc62
commit 51e7509cb6
2 changed files with 93 additions and 84 deletions

View File

@ -149,7 +149,7 @@ const OrgPickerFromSPId = () => {
{/* Footer Back button */} {/* Footer Back button */}
{flowType !== "default" && ( {flowType !== "default" && (
<div className="d-flex text-secondary mt-3"> <div className="d-flex text-secondary mt-7">
<button <button
type="button" type="button"
className="btn btn-xs btn-outline-secondary" className="btn btn-xs btn-outline-secondary"

View File

@ -4,6 +4,7 @@ import { ITEMS_PER_PAGE } from "../../utils/constants";
import Avatar from "../common/Avatar"; import Avatar from "../common/Avatar";
import { useDebounce } from "../../utils/appUtils"; import { useDebounce } from "../../utils/appUtils";
import Pagination from "../common/Pagination"; import Pagination from "../common/Pagination";
import { SpinnerLoader } from "../common/Loader";
const OrganizationsList = ({ searchText }) => { const OrganizationsList = ({ searchText }) => {
const [currentPage, setCurrentPage] = useState(1); const [currentPage, setCurrentPage] = useState(1);
@ -144,10 +145,18 @@ const OrganizationsList = ({searchText}) => {
<td <td
colSpan={organizationsColumns.length + 1} colSpan={organizationsColumns.length + 1}
className="text-center" className="text-center"
style={{ height: "250px" }}
> >
<p className="fw-semibold">{isLoading ? "Loading....":"Not Found Organization"}</p> {isLoading ? (
<div className="d-flex justify-content-center align-items-center h-100">
<SpinnerLoader />
</div>
) : (
<p className="fw-semibold mt-3">Not Found Organization</p>
)}
</td> </td>
</tr> </tr>
)} )}
</tbody> </tbody>
</table> </table>