feat: Security
This commit is contained in:
@@ -260,9 +260,13 @@ export class DashboardComponent implements OnInit {
|
||||
openInvite(): void {
|
||||
const invite = this.inviteResult();
|
||||
|
||||
if (invite) {
|
||||
this.router.navigate(['/invite', invite]);
|
||||
if (!invite) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.router.navigate(['/invite', invite.inviteId], {
|
||||
queryParams: invite.sourceUrl ? { server: invite.sourceUrl } : undefined
|
||||
});
|
||||
}
|
||||
|
||||
serverInitial(server: ServerInfo): string {
|
||||
|
||||
Reference in New Issue
Block a user