mirror of
https://github.com/streamwall/streamwall.git
synced 2026-04-14 01:32:04 -04:00
Share token link generation
This commit is contained in:
@@ -25,6 +25,7 @@ import {
|
||||
ControlCommand,
|
||||
idColor,
|
||||
idxInBox,
|
||||
inviteLink,
|
||||
LocalStreamData,
|
||||
roleCan,
|
||||
StreamData,
|
||||
@@ -804,7 +805,10 @@ export function ControlUI({
|
||||
<StyledNewInviteBox>
|
||||
Invite link created:{' '}
|
||||
<a
|
||||
href={`/invite/${newInvite.tokenId}?token=${newInvite.secret}`}
|
||||
href={inviteLink({
|
||||
tokenId: newInvite.tokenId,
|
||||
secret: newInvite.secret,
|
||||
})}
|
||||
onClick={preventLinkClick}
|
||||
>
|
||||
"{newInvite.name}"
|
||||
|
||||
Reference in New Issue
Block a user