Skip to content

Commit

Permalink
Merge pull request #2054 from DSD-DBS/provisioning-internal-session-v…
Browse files Browse the repository at this point in the history
…iewer

feat: Auto-connect to provisioned sessions
  • Loading branch information
MoritzWeber0 authored Dec 2, 2024
2 parents 2d79dbf + 88db35d commit 0cbe5fd
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 0cbe5fd

Please sign in to comment.