1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 13:55:21 +02:00

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

This commit is contained in:
Chaim Lev-Ari 2023-08-03 21:21:00 +02:00 committed by GitHub
parent 9c4d512a4c
commit 18e40cd973
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