mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
🐛 Reset account submenu state when profile menu closes (#8953)
Closes #8947 Signed-off-by: eureka928 <meobius123@gmail.com>
This commit is contained in:
parent
4703fe6e3b
commit
19b9c696fc
@ -33,6 +33,7 @@
|
||||
|
||||
### :bug: Bugs fixed
|
||||
|
||||
- Reset profile submenu state when the account menu closes (by @eureka928) [Github #8947](https://github.com/penpot/penpot/issues/8947)
|
||||
- Add export panel to inspect styles tab [Taiga #13582](https://tree.taiga.io/project/penpot/issue/13582)
|
||||
- Fix styles between grid layout inputs [Taiga #13526](https://tree.taiga.io/project/penpot/issue/13526)
|
||||
- Fix id prop on switch component [Taiga #13534](https://tree.taiga.io/project/penpot/issue/13534)
|
||||
|
||||
@ -1323,6 +1323,10 @@
|
||||
(st/emit! (ptk/event ::ev/event {::ev/name "explore-pricing-click" ::ev/origin "dashboard" :section "sidebar"}))
|
||||
(dom/open-new-window "https://penpot.app/pricing")))]
|
||||
|
||||
(mf/with-effect [show-profile-menu?]
|
||||
(when-not show-profile-menu?
|
||||
(reset! sub-menu* nil)))
|
||||
|
||||
[:*
|
||||
(if (contains? cf/flags :nitrate)
|
||||
[:> nitrate-sidebar* {:profile profile :teams teams}]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user