🎉 Consolidate add share button to the workspace

This commit is contained in:
Pablo Alba 2025-01-23 12:25:28 +01:00
parent c2fb9f4c6f
commit f0966070eb
2 changed files with 8 additions and 10 deletions

View file

@ -6,6 +6,7 @@
- Fix errors from editable select on measures menu [Taiga #9888](https://tree.taiga.io/project/penpot/issue/9888)
- Fix exception on importing some templates from templates slider
- Consolidate adding share button to workspace
## 2.4.2

View file

@ -7,7 +7,6 @@
(ns app.main.ui.workspace.right-header
(:require-macros [app.main.style :as stl])
(:require
[app.config :as cf]
[app.main.data.events :as ev]
[app.main.data.modal :as modal]
[app.main.data.shortcuts :as scd]
@ -250,9 +249,7 @@
:on-click toggle-history}
i/history]])
(when (and
(not (:is-default team))
(cf/external-feature-flag "share-01" "test"))
(when (not (:is-default team))
[:a {:class (stl/css :viewer-btn)
:title (tr "workspace.header.share")
:on-click open-share-dialog}