Disable sharing for templates
This commit is contained in:
parent
6eddfd983f
commit
877ec72e03
@ -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()}
|
||||
|
Loading…
Reference in New Issue
Block a user