fix: wording when a package has no platforms list (#774)
This commit is contained in:
parent
ff354507cd
commit
2758f7657a
|
@ -490,7 +490,7 @@ viewResultItem nixosChannels channel showInstallDetails show item =
|
||||||
, div []
|
, div []
|
||||||
(List.append [ h4 [] [ text "Platforms" ] ]
|
(List.append [ h4 [] [ text "Platforms" ] ]
|
||||||
(if List.isEmpty item.source.platforms then
|
(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
|
else
|
||||||
[ ul [] (List.map showPlatform (List.sort item.source.platforms)) ]
|
[ ul [] (List.map showPlatform (List.sort item.source.platforms)) ]
|
||||||
|
|
Loading…
Reference in a new issue