Makes it possible to bulk change invoices
This commit is contained in:
@@ -28,6 +28,11 @@
|
||||
[:span.icon [:i.fa.fa-plus]]
|
||||
[:span name]])
|
||||
|
||||
(defn event-button [{:keys [event name class ]}]
|
||||
[:a.button.is-outlined {:class class
|
||||
:on-click (dispatch-event event)}
|
||||
[:span name]])
|
||||
|
||||
(defn dropdown [{:keys [event on-click] :as params}]
|
||||
[:a.button (cond-> params
|
||||
true (dissoc :event :icon)
|
||||
|
||||
Reference in New Issue
Block a user