                      ;(om/computed (:competition/classes selected-competition)
                      ;                       {:selected selected-class})
                      {:classes (:competition/classes selected-competition)
-                      :selected (:app/selected-class p)}
+                      :selected selected-class}
                      )
 
-          :create-class ((om/factory CreateClassView) (:app/selected-class p))
+          :create-class ((om/factory CreateClassView)
+                          ;                selected-class
+                          (om/computed selected-class {:panels panels}))
 
           :edit-class-participants ((om/factory SelectClassParticipantsView)
                                      {:participants participants

          status (:app/status p)
          selected-page (:app/selected-page p)
          participants (:app/participants p)
          selected-class (:app/selected-class p)]
      (log "Main Clients :")
      (log (:app/clients p))
      (dom/div nil
        ((om/factory MenuComponent))
        (condp = selected-page

(defui CreateClassView
  static om/IQuery
  (query [_]
    [:class/name :class/id {:class/starting [:participant/number]}
     {:class/adjudicator-panel [:adjudicator-panel/id :adjudicator-panel/name]}])
  Object
  (render
    [this]
    (let [;selected-class (:selected-class (om/props this))
          selected-class (om/props this)
          {:keys [panels]} (om/get-computed this)
          ;panels (:adjudicator-panels (om/props this))
          ]
      ;; - Class name
      ;; - Adj Panel
      ;; - Dances
