                                  (dom/a #js {:className "navbar-brand" :href  "#"} "Tango!"))
                         (dom/div #js {:id "navbar" :className "navbar-collapse collapse"}
                                  (dom/ul #js {:className "nav navbar-nav navbar-right"}
-                                         (dom/li nil (dom/a #js {:href "#"} "Tävlingar")))
+                                         (dom/li
+                                          #js {:onClick #(om/transact!
+                                                          this
+                                                          `[(app/select-page {:page :competitions})])}
+                                          (dom/a #js {:href "#"} "Tävlingar"))
+                                         (dom/li
+                                          #js {:onClick (fn [e] (test-query-click this))}
+                                          (dom/a #js {:href "#"} "Query")))
                                  (dom/form #js {:className "navbar-form navbar-right"}
                                            (dom/input #js {:type "text"
                                                            :className "form-control"

                        
                        (dom/div #js {:className "col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main"}
                                 (dom/h1 #js {:className "page-header"} "Rikstävling yada yada")
                                 (dom/h2 #js {:className "sub-header"} "Klasser")
                                 (condp = spage
                                   :properties ((om/factory PropertiesView) selected-competition)
                                   :classes ((om/factory ClassesView) selected-competition)

     (log adjudicators)
     (dom/div
      nil
      (dom/h2 {:className "sub-header"} "Domare")
      (dom/table
       #js {:className "table"}
       (dom/thead
