From 0f0c45af8eff5919ea70dc66fa058753dffe7bfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marina=20L=C3=B3pez?= Date: Tue, 15 Apr 2025 12:50:01 +0200 Subject: [PATCH] :sparkles: Propagate sharing a prototype to editors and viewers (#6297) --- CHANGES.md | 2 ++ frontend/src/app/main/ui/viewer/header.cljs | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 3b6ccfa8e8..aeb17840b5 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,7 +9,9 @@ ### :heart: Community contributions (Thank you!) ### :sparkles: New features + - Update board presets with a newer devices [Taiga #10610](https://tree.taiga.io/project/penpot/us/10610) +- Propagate "sharing a prototype" to editors and viewers [Taiga #8853](https://tree.taiga.io/project/penpot/us/8853) ### :bug: Bugs fixed diff --git a/frontend/src/app/main/ui/viewer/header.cljs b/frontend/src/app/main/ui/viewer/header.cljs index 86eb9eb049..c0b4dee23d 100644 --- a/frontend/src/app/main/ui/viewer/header.cljs +++ b/frontend/src/app/main/ui/viewer/header.cljs @@ -198,9 +198,7 @@ :on-click toggle-fullscreen} i/expand] - (when (and - (:in-team permissions) - (:is-admin permissions)) + (when (:in-team permissions) [:button {:on-click open-share-dialog :class (stl/css :share-btn)} (tr "labels.share")])