🐛 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 03:13:37 -07:00 committed by GitHub
parent bec21e69e6
commit 300be392f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)))))]