From 9602c2969283183438ac3510eec24cce8f78c6c1 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 1 Jun 2013 15:42:50 -0700 Subject: [PATCH] web: show zero-balance accounts in the sidebar as well (fixed #106) --- hledger-web/Handler/Common.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-web/Handler/Common.hs b/hledger-web/Handler/Common.hs index 492911f51..1b34a394f 100644 --- a/hledger-web/Handler/Common.hs +++ b/hledger-web/Handler/Common.hs @@ -48,7 +48,7 @@ $maybe m' <- msg -- | The sidebar used on most views. sidebar :: ViewData -> HtmlUrl AppRoute -sidebar vd@VD{..} = accountsReportAsHtml opts vd $ accountsReport (reportopts_ $ cliopts_ opts) am j +sidebar vd@VD{..} = accountsReportAsHtml opts vd $ accountsReport (reportopts_ $ cliopts_ opts){empty_=True} am j -- -- | Navigation link, preserving parameters and possibly highlighted. -- navlink :: ViewData -> String -> AppRoute -> String -> HtmlUrl AppRoute