🐛 Fix onboarding template spinner stuck after failed download (#9504)

Signed-off-by: Andrey Antukh <niwi@niwi.nz>
Co-authored-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
Jeff
2026-05-29 12:13:37 +02:00
committed by GitHub
co-authored by Andrey Antukh
parent bec21e69e6
commit 300be392f6
@@ -42,6 +42,7 @@
(rx/subs! (fn [{:keys [body] :as response}]
(open-import-modal {:name name :uri (wapi/create-uri body)}))
(fn [error]
(reset! downloading? false)
(js/console.error "error" error))
(fn []
(reset! downloading? false)))))]