mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 08:18:26 +02:00
🐛 Disables buttons in view mode for users without permissions
This commit is contained in:
parent
5b25a42f32
commit
47e0c2c75b
4 changed files with 37 additions and 6 deletions
|
@ -82,7 +82,8 @@
|
|||
(st/emit! (rt/initialize-router ui/routes)
|
||||
(rt/initialize-history on-navigate))
|
||||
|
||||
(st/emit! (udu/fetch-profile))
|
||||
(st/emit! (udu/fetch-profile)
|
||||
(udu/fetch-user-teams))
|
||||
(mf/mount (mf/element ui/app) (dom/get-element "app"))
|
||||
(mf/mount (mf/element modal) (dom/get-element "modal")))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue