0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-08 08:09:14 -05:00

🐛 Fix problem with plugin data null values (#5696)

This commit is contained in:
Alonso Torres 2025-01-28 14:47:37 +01:00 committed by GitHub
parent 31145f2805
commit 407b664910
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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