frontend: sort platforms (#752)

Co-authored-by: w <none>
This commit is contained in:
wh0 2024-06-05 14:37:51 -07:00 committed by GitHub
parent 3f75136ddc
commit 039bd5cf0a
Failed to generate hash of commit

View file

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