mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
🐛 Properly dissoc :metadata prop on image->path conversion.
This commit is contained in:
parent
5126c85623
commit
899dc5b680
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue