mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 17:46:10 +02: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]
|
(fn [new-manifest]
|
||||||
(let [permissions (:permissions new-manifest)]
|
(let [permissions (:permissions new-manifest)]
|
||||||
(when permissions
|
(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
|
(defn update-plugins-permissions-peek
|
||||||
[]
|
[]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue