1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

fix(home): empty default sort [EE-5822] (#9951)

This commit is contained in:
Chaim Lev-Ari 2023-08-03 21:21:09 +02:00 committed by GitHub
parent 1cecbd7177
commit f59573f306
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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