mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 02:11:38 +02:00
✨ Switch team clicking in the whole selector
This commit is contained in:
parent
40240d294a
commit
4c1150bf78
2 changed files with 3 additions and 3 deletions
|
@ -322,7 +322,7 @@
|
|||
|
||||
[:div.sidebar-team-switch
|
||||
[:div.switch-content
|
||||
[:div.current-team
|
||||
[:div.current-team {:on-click #(reset! show-teams-ddwn? true)}
|
||||
(if (:is-default team)
|
||||
[:div.team-name
|
||||
[:span.team-icon i/logo-icon]
|
||||
|
@ -332,7 +332,7 @@
|
|||
[:img {:src (cfg/resolve-media-path (:photo team))}]]
|
||||
[:span.team-text {:title (:name team)} (:name team)]])
|
||||
|
||||
[:span.switch-icon {:on-click #(reset! show-teams-ddwn? true)}
|
||||
[:span.switch-icon
|
||||
i/arrow-down]]
|
||||
|
||||
(when-not (:is-default team)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue