mirror of
https://github.com/penpot/penpot.git
synced 2025-06-02 06:21:37 +02:00
🐛 Fix regression with library svgs
This commit is contained in:
parent
be74cd2c7b
commit
2f188e7fb4
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@
|
||||||
(defn extract-svg-attrs
|
(defn extract-svg-attrs
|
||||||
[render-id svg-defs svg-attrs]
|
[render-id svg-defs svg-attrs]
|
||||||
(if (and (empty? svg-defs) (empty? svg-attrs))
|
(if (and (empty? svg-defs) (empty? svg-attrs))
|
||||||
[nil nil]
|
[{} {}]
|
||||||
(let [replace-id (fn [id]
|
(let [replace-id (fn [id]
|
||||||
(if (contains? svg-defs id)
|
(if (contains? svg-defs id)
|
||||||
(str render-id "-" id)
|
(str render-id "-" id)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue