Updates page as needed.
This commit is contained in:
@@ -228,7 +228,7 @@
|
||||
:else
|
||||
"forward")))
|
||||
|
||||
(defn render-navigate [{ {:keys [wizard] :as request} :request to-step :to-step}]
|
||||
(defn render-navigate [{ {:keys [wizard] :as request } :request to-step :to-step oob :oob}]
|
||||
(let [current-step (get-current-step wizard)
|
||||
wizard (navigate wizard to-step)
|
||||
new-step (get-current-step wizard)
|
||||
@@ -244,7 +244,8 @@
|
||||
(assoc :step-params
|
||||
(init-step-params new-step % request))))))))
|
||||
:headers {"HX-reswap" (when transition-type "outerHTML swap:0.16s")
|
||||
"x-transition-type" (or transition-type "none")})))
|
||||
"x-transition-type" (or transition-type "none")}
|
||||
:oob (or oob []))))
|
||||
|
||||
(def next-handler
|
||||
(-> (fn [{:keys [wizard] :as request}]
|
||||
|
||||
Reference in New Issue
Block a user