Correction in List view.
This commit is contained in:
parent
36f802dc62
commit
51e7509cb6
@ -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"
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user