Makes button not crazy when you select a bunch of clients.
This commit is contained in:
@@ -264,7 +264,10 @@ NOTE: Please review the transactions we may have question for you here: https://
|
|||||||
[:div.level-left
|
[:div.level-left
|
||||||
[:div.level-item
|
[:div.level-item
|
||||||
[buttons/dropdown {:on-click (fn [] (reset! active :clients))}
|
[buttons/dropdown {:on-click (fn [] (reset! active :clients))}
|
||||||
[:span (str "Companies"
|
[:span {:style {"max-width" "30em"
|
||||||
|
"overflow" "hidden"
|
||||||
|
"text-overflow" "ellipsis"}}
|
||||||
|
(str "Companies"
|
||||||
(when-let [clients (:clients data)]
|
(when-let [clients (:clients data)]
|
||||||
(str " (" (str/join ", " (map (comp :name :client) clients)) ")")))]]
|
(str " (" (str/join ", " (map (comp :name :client) clients)) ")")))]]
|
||||||
[report-control-detail {:active active :box !box :which :clients}
|
[report-control-detail {:active active :box !box :which :clients}
|
||||||
|
|||||||
Reference in New Issue
Block a user