diff --git a/frontend/src/app/util/path/shapes_to_path.cljs b/frontend/src/app/util/path/shapes_to_path.cljs index 0fb979bb1..8d7c86cbd 100644 --- a/frontend/src/app/util/path/shapes_to_path.cljs +++ b/frontend/src/app/util/path/shapes_to_path.cljs @@ -139,8 +139,8 @@ (d/without-keys dissoc-attrs) (assoc :type :path) (assoc :content new-content) - (cond-> (= :image type) - (assoc :fill-image metadata)))) + (cond-> (= :image type) (-> (assoc :fill-image metadata) + (dissoc :metadata))))) ;; Do nothing if the shape is not of a correct type shape))