show hide

This commit is contained in:
2023-10-30 16:41:58 -07:00
parent 930b900849
commit a5672d8954

View File

@@ -230,13 +230,15 @@
:href (bidi/path-for ssr-routes/only-routes :href (bidi/path-for ssr-routes/only-routes
:admin-jobs)} :admin-jobs)}
"Background Jobs")] "Background Jobs")]
[:li [:li {:x-data (hx/json {:open false})
(menu-button- {:aria-controls "dropdown-import" }
:data-collapse-toggle "dropdown-import" (menu-button- {:icon svg/arrow-in
:icon svg/arrow-in} "@click" "open = !open"}
"Import") "Import")
(sub-menu- {:id "dropdown-import"} (sub-menu- {:id "dropdown-import"
:x-show "open"
}
(menu-button- {:href (bidi/path-for client-routes/routes (menu-button- {:href (bidi/path-for client-routes/routes
:admin-excel-import)} "Excel Invoices") :admin-excel-import)} "Excel Invoices")
(menu-button- {:href (bidi/path-for client-routes/routes (menu-button- {:href (bidi/path-for client-routes/routes