 
 (def cursor [:page :dockerhub :list :filter])
 
-(def headers ["Name" "Username" "Company"])
+(def headers ["Username" "Name" "Company"])
 
 (def render-item-keys
-  [[:name] [:username] [:company]])
+  [[:username] [:name] [:company]])
 
 (defn- render-item
   [item]


(defn- init-state
  []
  (state/set-value {:name ""} cursor))

(defn mount!
  [items]

(defn- filter-items
  "Filter list items based on given predicate"
  [items predicate]
  (filter #(string/includes? (:username %) predicate) items))

(rum/defc dockeruser-list < rum/reactive [items]
  (let [{:keys [username]} (state/react cursor)
        filtered-items (filter-items items username)]
    [:div
     [:div.form-panel
      [:div.form-panel-left
       (comp/panel-text-field
         {:hintText "Filter by username"
          :onChange (fn [_ v]
                      (state/update-value [:username] v cursor))})]
      [:div.form-panel-right
       (comp/mui
         (comp/raised-button
