mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 11:48:28 +00:00
✨ Set default role on invitation modal.
Just a quality of life improvement.
This commit is contained in:
parent
d2f8d4a306
commit
e98b88f673
@ -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…
x
Reference in New Issue
Block a user