File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/com/fulcrologic/fulcro/algorithms Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 66 (:require
77 [clojure.set :as set]
88 [com.fulcrologic.fulcro.algorithms.denormalize :as fdn]
9+ [com.fulcrologic.fulcro.algorithms.lookup :as ah]
910 [com.fulcrologic.fulcro.mutations :refer [defmutation ]]
1011 [com.fulcrologic.fulcro.raw.components :as rc]
1112 [edn-query-language.core :as eql]
129130 " Mutation: re-index the application (typically after a dynamic query change)."
130131 [_]
131132 (action [{:keys [app]}]
132- (if app
133- (index-root! app)
133+ (if-let [index-root-set-in- app! ( ah/app-algorithm app :index-root! )]
134+ (index-root-set-in-app ! app)
134135 (log/error " Unable to re-index root. App was not set in the mutation env. See https://book.fulcrologic.com/#err-idx-missing-app" ))))
You can’t perform that action at this time.
0 commit comments