Disable sharing for templates

This commit is contained in:
1ilit 2024-09-01 20:40:48 +04:00
parent 6eddfd983f
commit 877ec72e03

View File

@ -1363,6 +1363,7 @@ export default function ControlPanel({
{layout.header && (
<div className="flex justify-between items-center me-7">
{header()}
{window.name.split(" ")[0] !== "t" && (
<Button
type="primary"
className="text-base me-2 pe-6 ps-5 py-[18px] rounded-md"
@ -1372,6 +1373,7 @@ export default function ControlPanel({
>
{t("share")}
</Button>
)}
</div>
)}
{layout.toolbar && toolbar()}