Fixes logout link.

This commit is contained in:
2023-01-17 16:02:45 -08:00
parent 89fa510375
commit d6abad581b
5 changed files with 51 additions and 5 deletions

View File

@@ -302,10 +302,20 @@
(defn vendor-table [request]
(html-response (table request)))
(defn page [{:keys [identity matched-route] :as request}]
(base-page
[:div
(table request)]
[:div
[:div#vendor-table {:hx-get (bidi/path-for ssr-routes/only-routes
:company-1099-vendor-table
:request-method :get)
:hx-trigger "load"
:hx-swap "outerHTML"}
[:div.container
[:div.column.is-4.is-offset-4.has-text-centered
[:div.loader.is-loading.is-active.big.is-centered]]]]]
[:div
(company-side-bar matched-route)]))