From 5c0ec6f7c17c1360af213ba18e20d896ff5abd12 Mon Sep 17 00:00:00 2001 From: "mathieu.brunot" Date: Thu, 21 Feb 2019 22:55:39 +0100 Subject: [PATCH] :sparkles: Add header link to exit in user settings --- frontend/src/uxbox/main/ui/settings/header.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/uxbox/main/ui/settings/header.cljs b/frontend/src/uxbox/main/ui/settings/header.cljs index 579dd5bb5..ac61df7d6 100644 --- a/frontend/src/uxbox/main/ui/settings/header.cljs +++ b/frontend/src/uxbox/main/ui/settings/header.cljs @@ -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)]))