                                   (.preventDefault e)
                                   (let [tree (.getData (.-dataTransfer e) "text")]
                                     (dispatch-sync [:import tree @active-channel])))}]
-         [".datalist" :* [data-items (:items @active-channel) active-channel] ]
+         [".datalist" :* [channel-items (:items @active-channel) active-channel] ]
          [".nav-tabs li" :* (data-tab-item channels @active-list-idx) ]
          [".channels.buttons" :*> (list 
                                   [:li [exports/export-dlg channels]]

    "hidden"))


(defn data-item 
  "Single item in single channel. Editable, deletable."
 [item channel]
  (let [editing (atom false)]


        [:a {:class "delete"}  "\u274c" ] ]])))

(defn channel-items [items channel]
  [:ul        
   (for [item items] 
     [channel-item item channel])])

(defn channel-title [{:keys [title i channels]}]
  (let [editing (atom false)]
