diff --git a/src/main/frontend/components/rtc/indicator.cljs b/src/main/frontend/components/rtc/indicator.cljs index 91abd648bf..02ed593854 100644 --- a/src/main/frontend/components/rtc/indicator.cljs +++ b/src/main/frontend/components/rtc/indicator.cljs @@ -5,6 +5,7 @@ [frontend.config :as config] [frontend.db :as db] [frontend.flows :as flows] + [frontend.handler.db-based.rtc :as rtc-handler] [frontend.handler.db-based.rtc-flows :as rtc-flows] [frontend.state :as state] [frontend.ui :as ui] @@ -138,7 +139,15 @@ remote-tx (assoc :remote-tx remote-tx) rtc-state (assoc :rtc-state rtc-state)) pprint/pprint - with-out-str)]])])) + with-out-str)]]) + (when-not (= rtc-state :open) + [:div.mt-4 + (shui/button {:variant :default + :size :sm + :on-click (fn [] + (rtc-handler/