diff --git a/common/src/app/common/files/changes.cljc b/common/src/app/common/files/changes.cljc index 251e4e90d5..f9b351d6d4 100644 --- a/common/src/app/common/files/changes.cljc +++ b/common/src/app/common/files/changes.cljc @@ -907,7 +907,7 @@ (letfn [(update-fn [data] (if (some? value) (assoc-in data [:plugin-data namespace key] value) - (update-in data [:plugin-data namespace] dissoc key)))] + (d/update-in-when data [:plugin-data namespace] dissoc key)))] (case object-type :file