From f31b392367f56fe4e108c183ccf833cf8e44fe2f Mon Sep 17 00:00:00 2001 From: Maxime Beauchamp Date: Fri, 19 Apr 2024 14:04:58 -0400 Subject: [PATCH] feat(deploy-web): Filter provider list with audited by default --- deploy-web/src/pages/providers/index.tsx | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/deploy-web/src/pages/providers/index.tsx b/deploy-web/src/pages/providers/index.tsx index b8745e1ad..8338c0b0e 100644 --- a/deploy-web/src/pages/providers/index.tsx +++ b/deploy-web/src/pages/providers/index.tsx @@ -75,7 +75,7 @@ const ProvidersPage: React.FunctionComponent = ({}) => { const [page, setPage] = useState(1); const [isFilteringActive, setIsFilteringActive] = useState(true); const [isFilteringFavorites, setIsFilteringFavorites] = useState(false); - const [isFilteringAudited, setIsFilteringAudited] = useState(false); + const [isFilteringAudited, setIsFilteringAudited] = useState(true); const [filteredProviders, setFilteredProviders] = useState>([]); const [rowsPerPage, setRowsPerPage] = useState(10); const [sort, setSort] = useState("active-leases-desc"); @@ -302,28 +302,28 @@ const ProvidersPage: React.FunctionComponent = ({}) => { } - label="Favorites" + label="Audited" /> } - label="Audited" + label="Favorites" /> @@ -420,4 +420,3 @@ export async function getServerSideProps({ params }) { } export default ProvidersPage; -