Skip to content

Commit

Permalink
feat: Auto-connect to provisioned sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
MoritzWeber0 committed Dec 2, 2024
1 parent eda22af commit 88db35d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,11 @@ export class CreateProvisionedSessionComponent implements OnInit {
);
}
combineLatest(requests).subscribe({
next: () => {
next: (sessions) => {
this.provisioningRequestInProgress = false;
this.router.navigateByUrl('/');
this.router.navigate(['/session-viewer'], {
queryParams: { 'session-id': sessions.map((s) => s.id) },
});
},
error: () => {
this.provisioningRequestInProgress = false;
Expand Down

0 comments on commit 88db35d

Please sign in to comment.