~bendersteed/wikisophy-fe

33d264fbab2d893864b201d51d344294a7d3837d — Dimakakos Dimos 4 years ago 1f4130b
Clean: string transformation moved to backend
1 files changed, 1 insertions(+), 1 deletions(-)

M src/wikisophy/core.cljs
M src/wikisophy/core.cljs => src/wikisophy/core.cljs +1 -1
@@ 10,7 10,7 @@

(defn response-handler [response] ;; this functionality will be implemented to backend
  (map-indexed (fn [i v] {:id (inc i)
                          :value (clojure.string/replace v "_" " ")
                          :value v
                          :parent (if (= i 0) nil i)})
               response))