 
 
 
-(defn playback-session-button-component [{:keys [ui data sessions]} owner]
+(defn playback-session-button-component [{:keys [ui
+                                                 data
+                                                 sessions
+                                                 current-session]} owner]
   (reify
 
     om/IRenderState

(defn playback-session [& {:keys
                           [session-id]}]
  (go
   (let [
            init-state  (<! (neo4j "match (n:WebSession) where
                                   n.session_id={session_id}

    (render-state
     [this {:keys [highlight unhighlight]}]
      (let [
              session-id   (get-in data ["session_id"])
              browser      (get-in data ["browser"])
              start-time   (js/Date. (get-in data ["start_time"]))
              full-time    (/ (get-in data ["time"]) 1000)
              active       (= session-id current-session)
            ]
       (dom/div nil

