        (if @(rf/subscribe [::notifications/button-loading? uuid :recorded])
          [:button.button.is-loading]
          (tooltip-button
-          {:on-click (fn [e] (rf/dispatch [::recorded-production uuid]))
+          {:on-click (fn [e] (rf/dispatch [::recorded-production uuid id]))
            :tooltip :mark-recorded
            :disabled (not has-manifest?)
            :icon "task"})))

     (-> db
         (fork/set-submitting path false)
         (fork/set-server-message path message)))))

(rf/reg-sub
 ::productions


(rf/reg-event-fx
  ::delete-production
  (fn [{:keys [db]} [_ uuid]]
    (let [production (get-in db [:productions :in-production uuid])]
      {:db (notifications/set-button-state db uuid :delete)
       :http-xhrio
       (as-transit {:method          :delete
                    :headers 	     (auth/auth-header db)
                    :uri             (str "/api/productions/" (:id production))
                    :on-success      [::ack-success uuid :delete]
                    :on-failure      [::ack-failure uuid :delete]
                    })})))

(rf/reg-event-db
