Backport and merge migrations from staging (#5681)

This commit is contained in:
Andrey Antukh 2025-01-24 19:11:03 +01:00 committed by GitHub
parent 48132711b6
commit 71560c0a53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 64 additions and 19 deletions

View file

@ -1506,10 +1506,10 @@
(coll? transit-data)
(rx/of (paste-transit-shapes (assoc transit-data :in-viewport in-viewport?)))
(string? html-data)
(and (string? html-data) (d/not-empty? html-data))
(rx/of (paste-html-text html-data text-data))
(string? text-data)
(and (string? text-data) (d/not-empty? text-data))
(rx/of (paste-text text-data))
:else

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.common :as dcm]
[app.main.data.event :as ev]
[app.main.data.modal :as modal]
@ -251,9 +250,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}