Disable sharing for templates
This commit is contained in:
parent
6eddfd983f
commit
877ec72e03
@ -1363,6 +1363,7 @@ export default function ControlPanel({
|
|||||||
{layout.header && (
|
{layout.header && (
|
||||||
<div className="flex justify-between items-center me-7">
|
<div className="flex justify-between items-center me-7">
|
||||||
{header()}
|
{header()}
|
||||||
|
{window.name.split(" ")[0] !== "t" && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
className="text-base me-2 pe-6 ps-5 py-[18px] rounded-md"
|
className="text-base me-2 pe-6 ps-5 py-[18px] rounded-md"
|
||||||
@ -1372,6 +1373,7 @@ export default function ControlPanel({
|
|||||||
>
|
>
|
||||||
{t("share")}
|
{t("share")}
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{layout.toolbar && toolbar()}
|
{layout.toolbar && toolbar()}
|
||||||
|
Loading…
Reference in New Issue
Block a user