mirror of
https://github.com/penpot/penpot.git
synced 2025-05-17 20:56:11 +02:00
🎉 Consolidate add share button to the workspace
This commit is contained in:
parent
c2fb9f4c6f
commit
f0966070eb
2 changed files with 8 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue