Skip to content

Commit 3698a4b

Browse files
Show GH handle for packages with one maintainer (#908)
1 parent bb2a895 commit 3698a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/Page/Packages.elm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ viewResultItem nixosChannels channel showInstallDetails show item =
452452
ghHandles =
453453
List.filterMap (\m -> (Maybe.map (String.append "@") m.github)) maintainers
454454
in
455-
optionals (List.length ghHandles > 1)
455+
optionals (not (List.isEmpty ghHandles))
456456
[ li []
457457
(
458458
[ text "Maintainer Github handles: " ]

0 commit comments

Comments
 (0)