simple tweaks.
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
(re-frame/reg-event-fx
|
||||
::toggle-expense-accounts
|
||||
(fn [{:keys [db] } [_ invoice-id]]
|
||||
(println "toggling")
|
||||
{:db
|
||||
(update-in db [::visible-expense-accounts] (fn [i] (if (= i invoice-id) nil invoice-id) ))}))
|
||||
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
[:div
|
||||
[:div [:p.menu-label "Type"]
|
||||
[:ul.menu-list
|
||||
[:li.menu-item
|
||||
[:a.item {:href (bidi/path-for routes/routes :invoices)
|
||||
:class [(active-when ap = :invoices)]}
|
||||
[:span {:class "icon icon-accounting-invoice-mail" :style {:font-size "25px"}}]
|
||||
[:span {:class "name"} "All Invoices"]]]
|
||||
[:li.menu-item
|
||||
[:a.item {:href (bidi/path-for routes/routes :unpaid-invoices)
|
||||
:class [(active-when ap = :unpaid-invoices)]}
|
||||
|
||||
Reference in New Issue
Block a user