Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixos-search
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 84571edfaba0
Choose a base ref
...
head repository: NixOS/nixos-search
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 80dc28aaf841
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 10, 2020

  1. remove Debug

    garbas committed Apr 10, 2020
    Copy the full SHA
    80dc28a View commit details
Showing with 8 additions and 2 deletions.
  1. +8 −2 src/Main.elm
10 changes: 8 additions & 2 deletions src/Main.elm
Original file line number Diff line number Diff line change
@@ -532,7 +532,11 @@ searchPage model =
searchPageResult model.showDetailsFor result.hits

R.Failure error ->
div [] [ text "Error!", pre [] [ text (Debug.toString error) ] ]
div []
[ text "Error!"

--, pre [] [ text (Debug.toString error) ]
]
]


@@ -560,7 +564,9 @@ searchPageResultItem showDetailsFor item =
let
packageDetails =
if Just item.id == showDetailsFor then
[ td [ colspan 4 ] [ text "works!" ] ]
[ td [ colspan 4 ]
[]
]

else
[]