From 2ed52870a61006f751e16ededd9ec760b7a6219a Mon Sep 17 00:00:00 2001 From: Mauricio Uehara Date: Fri, 24 Apr 2020 14:00:19 -0300 Subject: [PATCH] Hide 'X documents found' if there's only 1 result --- jarbas/layers/elm/Reimbursement/View.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jarbas/layers/elm/Reimbursement/View.elm b/jarbas/layers/elm/Reimbursement/View.elm index d3c7a9263..508f873e6 100644 --- a/jarbas/layers/elm/Reimbursement/View.elm +++ b/jarbas/layers/elm/Reimbursement/View.elm @@ -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