File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -1363,15 +1363,17 @@ export default function ControlPanel({
1363
1363
{ layout . header && (
1364
1364
< div className = "flex justify-between items-center me-7" >
1365
1365
{ header ( ) }
1366
- < Button
1367
- type = "primary"
1368
- className = "text-base me-2 pe-6 ps-5 py-[18px] rounded-md"
1369
- size = "default"
1370
- icon = { < IconShareStroked /> }
1371
- onClick = { ( ) => setModal ( MODAL . SHARE ) }
1372
- >
1373
- { t ( "share" ) }
1374
- </ Button >
1366
+ { window . name . split ( " " ) [ 0 ] !== "t" && (
1367
+ < Button
1368
+ type = "primary"
1369
+ className = "text-base me-2 pe-6 ps-5 py-[18px] rounded-md"
1370
+ size = "default"
1371
+ icon = { < IconShareStroked /> }
1372
+ onClick = { ( ) => setModal ( MODAL . SHARE ) }
1373
+ >
1374
+ { t ( "share" ) }
1375
+ </ Button >
1376
+ ) }
1375
1377
</ div >
1376
1378
) }
1377
1379
{ layout . toolbar && toolbar ( ) }
You can’t perform that action at this time.
0 commit comments