nine hundreth time is the charm
This commit is contained in:
@@ -38,6 +38,9 @@
|
||||
:<- [::user]
|
||||
:<- [::clients]
|
||||
(fn [[selected-clients user clients]]
|
||||
(println "SELECTED" selected-clients
|
||||
"USER" user
|
||||
"CLIENTS" clients)
|
||||
|
||||
(cond (= :mine selected-clients)
|
||||
(sort-by :name
|
||||
@@ -50,7 +53,7 @@
|
||||
clients
|
||||
|
||||
(sequential? selected-clients)
|
||||
(filter (comp (set selected-clients) js/parseInt :id) clients)
|
||||
(filter (comp (set selected-clients) :id) clients)
|
||||
|
||||
:else
|
||||
nil)))
|
||||
|
||||
Reference in New Issue
Block a user