0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00

Add header link to exit in user settings

This commit is contained in:
mathieu.brunot 2019-02-21 22:55:39 +01:00
parent d8838d3fc9
commit 5c0ec6f7c1
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0

View file

@ -42,6 +42,8 @@
[:li {:class (when password? "current")}
(header-link :settings/password (tr "settings.password"))]
[:li {:class (when notifications? "current")}
(header-link :settings/notifications (tr "settings.notifications"))]]
(header-link :settings/notifications (tr "settings.notifications"))]
[:li {:on-click #(st/emit! (da/logout))}
(header-link :settings/profile (tr "ds.user.exit"))]]
(user)]))