From 039bd5cf0a3d6d35737a5cd78e6d85cedd084dfd Mon Sep 17 00:00:00 2001 From: wh0 Date: Wed, 5 Jun 2024 14:37:51 -0700 Subject: [PATCH] frontend: sort platforms (#752) Co-authored-by: w --- frontend/src/Page/Packages.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Page/Packages.elm b/frontend/src/Page/Packages.elm index 3e54cf8..0c7f1a1 100644 --- a/frontend/src/Page/Packages.elm +++ b/frontend/src/Page/Packages.elm @@ -493,7 +493,7 @@ viewResultItem nixosChannels channel showInstallDetails show item = [ p [] [ text "This package is not available on any platform." ] ] else - [ ul [] (List.map showPlatform item.source.platforms) ] + [ ul [] (List.map showPlatform (List.sort item.source.platforms)) ] ) ) ]