Show join link only if connected (#6351)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2024-08-19 12:04:50 +05:00 committed by GitHub
parent 5c2775b6a1
commit 49cba4e518
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -220,7 +220,7 @@
}}
/>
{/if}
{#if hasAccountRole(getCurrentAccount(), AccountRole.User)}
{#if hasAccountRole(getCurrentAccount(), AccountRole.User) && $isConnected}
<ModernButton
icon={view.icon.Copy}
tooltip={{ label: !linkCopied ? plugin.string.CopyGuestLink : view.string.Copied, direction: 'top' }}