mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 23:46:09 +02:00
✨ Change team UI dropdown refactor
This commit is contained in:
parent
80f49e06cc
commit
8d5a97f6e5
24 changed files with 42 additions and 95 deletions
|
@ -217,8 +217,6 @@
|
|||
(st/emit! (dd/go-to-projects team-id))))]
|
||||
|
||||
[:ul.dropdown.teams-dropdown
|
||||
[:li.title (tr "dashboard.switch-team")]
|
||||
[:hr]
|
||||
[:li.team-name {:on-click (partial team-selected (:default-team-id profile))}
|
||||
[:span.team-icon i/logo-icon]
|
||||
[:span.team-text (tr "dashboard.your-penpot")]
|
||||
|
@ -236,7 +234,7 @@
|
|||
|
||||
[:hr]
|
||||
[:li.team-name.action {:on-click on-create-clicked :data-test "create-new-team"}
|
||||
[:span.team-icon i/close]
|
||||
[:span.team-icon.new-team i/close]
|
||||
[:span.team-text (tr "dashboard.create-new-team")]]]))
|
||||
|
||||
(s/def ::member-id ::us/uuid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue