mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 00:40:30 -05:00
✨ Set default role on invitation modal.
Just a quality of life improvement.
This commit is contained in:
parent
d2f8d4a306
commit
e98b88f673
1 changed files with 2 additions and 1 deletions
|
@ -85,7 +85,8 @@
|
|||
;; https://tree.taiga.io/project/uxboxproject/issue/1083
|
||||
;; {:value "viewer" :label (tr "labels.viewer")}]
|
||||
|
||||
initial (mf/use-memo (mf/deps team) (constantly {:team-id (:id team)}))
|
||||
initial (mf/use-memo (mf/deps team) (constantly {:team-id (:id team)
|
||||
:role "editor"}))
|
||||
form (fm/use-form :spec ::invite-member-form
|
||||
:initial initial)
|
||||
on-success
|
||||
|
|
Loading…
Reference in a new issue