1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-25 16:01:14 +02:00

hide share btn when its not users creation

This commit is contained in:
Kushagra Gour
2024-04-29 14:42:57 +05:30
parent 2557c40c33
commit ce2b6c2d92

View File

@@ -84,6 +84,8 @@ export function MainHeader({
</span>
</Button>
)}
{!isNotMine && (
<button
class="btn btn--dark hint--bottom-left"
aria-label={i18n._(t`Share this creation publicly`)}
@@ -103,6 +105,7 @@ export function MainHeader({
</svg>
{currentItem.isPublic ? null : <Trans>Share</Trans>}
</button>
)}
<button
class="btn btn--dark hint--bottom-left"