From 41d05d6de0b0dd2da80dfad50c76c0302630bc5b Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 17 Jun 2021 09:09:28 +0200 Subject: [PATCH] :bug: Fix invalid link on workspace header (presence component). --- CHANGES.md | 1 + frontend/resources/styles/main/partials/workspace-header.scss | 1 - frontend/src/app/main/ui/workspace/presence.cljs | 3 +-- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 92a3e5e5e..05883f947 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -17,6 +17,7 @@ - Remove unnecesary redirect from history when user goes to workspace from dashboard [Taiga 1820](https://tree.taiga.io/project/penpot/issue/1820). - Fix tooltip position on view application [Taiga 1819](https://tree.taiga.io/project/penpot/issue/1819). - Fix dashboard navigation on moving file to other team [Taiga 1817](https://tree.taiga.io/project/penpot/issue/1817). +- Fix workspace header presence styles and invalid link [Taiga 1813](https://tree.taiga.io/project/penpot/issue/1813). ### :arrow_up: Deps updates ### :boom: Breaking changes diff --git a/frontend/resources/styles/main/partials/workspace-header.scss b/frontend/resources/styles/main/partials/workspace-header.scss index e191a725f..7c588f358 100644 --- a/frontend/resources/styles/main/partials/workspace-header.scss +++ b/frontend/resources/styles/main/partials/workspace-header.scss @@ -179,7 +179,6 @@ .active-users { align-items: center; - cursor: pointer; display: flex; margin: 0; diff --git a/frontend/src/app/main/ui/workspace/presence.cljs b/frontend/src/app/main/ui/workspace/presence.cljs index e5a7f0e2e..8947bfb00 100644 --- a/frontend/src/app/main/ui/workspace/presence.cljs +++ b/frontend/src/app/main/ui/workspace/presence.cljs @@ -17,8 +17,7 @@ (mf/defc session-widget [{:keys [session self? profile] :as props}] [:li.tooltip.tooltip-bottom - {:alt (:fullname profile) - :on-click (when self? (st/emitf (rt/navigate :settings/profile)))} + {:alt (:fullname profile)} [:img {:style {:border-color (:color session)} :src (cfg/resolve-profile-photo-url profile)}]])