hopefully makes the insights page show correct

This commit is contained in:
2023-09-01 00:24:23 -07:00
parent c98766873e
commit 0c23ccc811
4 changed files with 291 additions and 17 deletions

View File

@@ -308,7 +308,7 @@
(html-response (insight-table* {:clients clients
:identity identity})))
(defn page [{:keys [identity matched-route session] :as request}]
(defn page [{:keys [identity matched-route session clients] :as request}]
(base-page
request
(com/page {:nav (com/main-aside-nav)
@@ -327,8 +327,7 @@
[:a {:href (bidi/path-for ssr-routes/only-routes
:transaction-insights)}
"Insights"])
(insight-table* {:selected-client
(-> session :client :db/id)
(insight-table* {:clients clients
:identity identity}))
"Transaction Insights"))