mirror of
https://github.com/penpot/penpot.git
synced 2025-04-09 21:41:23 -05:00
✨ Add error control on plugins permissions peek
This commit is contained in:
parent
0d08549a04
commit
c89b6e2d6d
1 changed files with 4 additions and 1 deletions
|
@ -155,7 +155,10 @@
|
|||
(fn [new-manifest]
|
||||
(let [permissions (:permissions new-manifest)]
|
||||
(when permissions
|
||||
(st/emit! (save-plugin-permissions-peek plugin-id permissions)))))))))
|
||||
(st/emit! (save-plugin-permissions-peek plugin-id permissions)))))
|
||||
(fn [_err]
|
||||
;; on error do nothing
|
||||
)))))
|
||||
|
||||
(defn update-plugins-permissions-peek
|
||||
[]
|
||||
|
|
Loading…
Add table
Reference in a new issue