Skip to content

Commit

Permalink
Hide 'X documents found' if there's only 1 result
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauricio Uehara authored and Mauricio Uehara committed Apr 24, 2020
1 parent d824542 commit 2ed5287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jarbas/layers/elm/Reimbursement/View.elm
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ viewReimbursements model =
in
if model.loading then
text ""
else if searched then
else if total > 1 then
grid [] (title :: cells)
else
grid [] cells
Expand Down

0 comments on commit 2ed5287

Please sign in to comment.