From 18e40cd973f93cb582d699e07a14e782679c3d25 Mon Sep 17 00:00:00 2001 From: Chaim Lev-Ari Date: Thu, 3 Aug 2023 21:21:00 +0200 Subject: [PATCH] fix(home): empty default sort [EE-5822] (#9950) --- .../portainer/HomeView/EnvironmentList/EnvironmentList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/react/portainer/HomeView/EnvironmentList/EnvironmentList.tsx b/app/react/portainer/HomeView/EnvironmentList/EnvironmentList.tsx index 31d1df9ee..0aedd6ee7 100644 --- a/app/react/portainer/HomeView/EnvironmentList/EnvironmentList.tsx +++ b/app/react/portainer/HomeView/EnvironmentList/EnvironmentList.tsx @@ -71,7 +71,7 @@ export function EnvironmentList({ onClickBrowse, onRefresh }: Props) { ); const [sortByFilter, setSortByFilter] = useHomePageFilter< SortType | undefined - >('sortBy', 'Name'); + >('sortBy', undefined); const [sortByDescending, setSortByDescending] = useHomePageFilter( 'sortOrder', false