From 36c89d33a19fe250a91f180b18c3de296126d56b Mon Sep 17 00:00:00 2001 From: Bryce Date: Tue, 9 Apr 2024 10:05:14 -0700 Subject: [PATCH] Defaults to unpaid invoices --- src/cljs/auto_ap/views/components/layouts.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cljs/auto_ap/views/components/layouts.cljs b/src/cljs/auto_ap/views/components/layouts.cljs index a555e0a4..1d16b1cb 100644 --- a/src/cljs/auto_ap/views/components/layouts.cljs +++ b/src/cljs/auto_ap/views/components/layouts.cljs @@ -177,7 +177,7 @@ "Home" ] (when (p/can? @user {:subject :invoice-page}) [:a.navbar-item {:class [(active-when ap #{:unpaid-invoices :paid-invoices})] - :href (str (bidi/path-for ssr-routes/only-routes ::invoice-routes/all-page) "?date-range=month")} + :href (str (bidi/path-for ssr-routes/only-routes ::invoice-routes/unpaid-page) "?date-range=month")} "Invoices" ]) (when (p/can? @user {:subject :payment-page}) [:a.navbar-item {:class [(active-when ap = :payments)]