mirror of
https://github.com/penpot/penpot.git
synced 2025-01-22 14:39:45 -05:00
🐛 Temporary fix for import on sets with groups (/ delimiter)
This commit is contained in:
parent
66dce0e795
commit
f5596b2b3f
1 changed files with 2 additions and 1 deletions
|
@ -137,7 +137,8 @@
|
||||||
(->> data-stream
|
(->> data-stream
|
||||||
(rx/map (fn [data]
|
(rx/map (fn [data]
|
||||||
(try
|
(try
|
||||||
(t/decode-str data)
|
(-> (str/replace data "/" "-") ;; TODO Remove when token groups work
|
||||||
|
(t/decode-str))
|
||||||
(catch js/Error e
|
(catch js/Error e
|
||||||
(throw (wte/error-ex-info :error.import/json-parse-error data e))))))
|
(throw (wte/error-ex-info :error.import/json-parse-error data e))))))
|
||||||
(rx/map (fn [json-data]
|
(rx/map (fn [json-data]
|
||||||
|
|
Loading…
Add table
Reference in a new issue