0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-01 03:49:22 -05:00

🐛 Fix missing cleanup of storage on bad plugin url

This commit is contained in:
Pablo Alba 2025-01-16 12:56:43 +01:00
parent 5793c526c0
commit fc4221b047

View file

@ -209,7 +209,9 @@
(open-permissions-dialog plugin))
(st/emit! (notif/error (tr "dashboard.plugins.parse-error")))))
(fn [_]
(st/emit! (notif/error (tr "dashboard.plugins.bad-url"))))))))))
(st/emit! (notif/error (tr "dashboard.plugins.bad-url"))))))
(binding [storage/*sync* true]
(swap! storage/session dissoc :plugin-url))))))
(defn use-templates-import
[can-edit? template-url default-project-id]