Skip to content

Commit

Permalink
fix: wording when a package has no platforms list
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored and wegank committed May 31, 2024
1 parent 7e5419d commit cd767e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/Page/Packages.elm
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ viewResultItem nixosChannels channel showInstallDetails show item =
, div []
(List.append [ h4 [] [ text "Platforms" ] ]
(if List.isEmpty item.source.platforms then
[ p [] [ text "This package is not available on any platform." ] ]
[ p [] [ text "This package does not list its available platforms." ] ]

else
[ ul [] (List.map showPlatform item.source.platforms) ]
Expand Down

0 comments on commit cd767e6

Please sign in to comment.