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:
parent
5793c526c0
commit
fc4221b047
1 changed files with 3 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue