minor fixes
This commit is contained in:
@@ -25,11 +25,14 @@
|
||||
(str (.-protocol (.-location js/window)) "//" (.-host (.-location js/window)) (.-pathname (.-location js/window))
|
||||
"?"
|
||||
(cemerick.url/map->query (->> uri-params
|
||||
(filter (fn [[k v]] (not-empty v)) )
|
||||
(filter (fn [[k v]] (and v
|
||||
(or (not (seqable? v))
|
||||
(not-empty v)))) )
|
||||
(map
|
||||
(fn [[k v]]
|
||||
(if (string? v)
|
||||
[k (str "\"" v "\"")])))
|
||||
[k (str "\"" v "\"")]
|
||||
[k v])))
|
||||
(into {} )))))))
|
||||
|
||||
(re-frame/reg-fx
|
||||
|
||||
Reference in New Issue
Block a user