mirror of
https://github.com/streamwall/streamwall.git
synced 2025-12-06 01:45:37 -05:00
Fix invite links in frontend
This commit is contained in:
@@ -48,6 +48,7 @@ export interface ViewInfo {
|
||||
}
|
||||
|
||||
interface Invite {
|
||||
tokenId: string
|
||||
name: string
|
||||
secret: string
|
||||
}
|
||||
@@ -803,7 +804,7 @@ export function ControlUI({
|
||||
<StyledNewInviteBox>
|
||||
Invite link created:{' '}
|
||||
<a
|
||||
href={`/invite/${newInvite.secret}`}
|
||||
href={`/invite/${newInvite.tokenId}?token=${newInvite.secret}`}
|
||||
onClick={preventLinkClick}
|
||||
>
|
||||
"{newInvite.name}"
|
||||
|
||||
Reference in New Issue
Block a user