mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 08:06:10 +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 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
|
- Fix exception on importing some templates from templates slider
|
||||||
|
- Consolidate adding share button to workspace
|
||||||
|
|
||||||
|
|
||||||
## 2.4.2
|
## 2.4.2
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
(ns app.main.ui.workspace.right-header
|
(ns app.main.ui.workspace.right-header
|
||||||
(:require-macros [app.main.style :as stl])
|
(:require-macros [app.main.style :as stl])
|
||||||
(:require
|
(:require
|
||||||
[app.config :as cf]
|
|
||||||
[app.main.data.events :as ev]
|
[app.main.data.events :as ev]
|
||||||
[app.main.data.modal :as modal]
|
[app.main.data.modal :as modal]
|
||||||
[app.main.data.shortcuts :as scd]
|
[app.main.data.shortcuts :as scd]
|
||||||
|
@ -250,9 +249,7 @@
|
||||||
:on-click toggle-history}
|
:on-click toggle-history}
|
||||||
i/history]])
|
i/history]])
|
||||||
|
|
||||||
(when (and
|
(when (not (:is-default team))
|
||||||
(not (:is-default team))
|
|
||||||
(cf/external-feature-flag "share-01" "test"))
|
|
||||||
[:a {:class (stl/css :viewer-btn)
|
[:a {:class (stl/css :viewer-btn)
|
||||||
:title (tr "workspace.header.share")
|
:title (tr "workspace.header.share")
|
||||||
:on-click open-share-dialog}
|
:on-click open-share-dialog}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue