                   [:li {:class (if (= active-tab :sensors) "active" nil)}
                    [:a {:onClick (fn [_ _] (om/set-state! owner :active-tab :sensors))}
                     "Sensor Data"]]
-                  (when (and editable (seq devices))
+                  (when editable
                     [:li {:class (if (= active-tab :upload) "active" nil)}
                      [:a {:onClick (fn [_ _] (om/set-state! owner :active-tab :upload))}
                       "CSV"]])]

                 [:div {:class (if (not= active-tab :upload) "hidden" "col-md-12")}
                  [:div {:style {:padding-top "15px"}}
                   ;; Download measurements template
                   [:div.panel.panel-default
                    [:div.panel-body
                     [:div
                      [:h4 "Download CSV measurements template"]
                      [:a {:class "btn btn-primary"
                           :type "button"
                           :href (str "/4/templates/for-entity/" selected-property-id)} "Download"]]]]]   
                  ;; Upload measurements
                  [:div.panel.panel-default
                   [:div.panel-body
                    [:div
                     [:h4 "Upload measurements CSV"]

    (render-state [_ state]
      (let [selected-property-id    (-> data :active-components :properties)
            property-details        (get-property-details selected-property-id data)
            {:keys [project_id
                    property_data
                    editable]} property-details]
        (html
         [:div
          [:h3 "Overview"]
