Skip to content

Commit

Permalink
chore: added condition to avoid seeing the open web console on iam us…
Browse files Browse the repository at this point in the history
…er, and added session id param
  • Loading branch information
urz9999 committed Nov 8, 2022
1 parent 230d92c commit dba6094
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@
</button>
</ng-container>

<ng-container>
<ng-container
*ngIf="selectedSession.type === eSessionType.awsSsoRole || selectedSession.type === eSessionType.awsIamRoleFederated || selectedSession.type === eSessionType.awsIamRoleChained">
<button [disabled]="openWebConsoleExtensionDisabled ? true : null" [class.disabled]="openWebConsoleExtensionDisabled" mat-menu-item (click)="sendExtensionMessage();">
<i class="moon-User"></i>&nbsp;
<span>Open Multi-Console Extension</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export class ExtensionWebsocketService {
sessionRegion: session.region,
sessionType: session.type.toString().startsWith("aws") ? "aws" : session.type.toString(),
},
leappSessionId: session.sessionId,
})
);
this.fetching$.next(FetchingState.fetching);
Expand Down

0 comments on commit dba6094

Please sign in to comment.