Skip to content

Commit

Permalink
fix: added aws iam chained role's copy account number
Browse files Browse the repository at this point in the history
  • Loading branch information
ericvilla committed Oct 1, 2021
1 parent 9a15039 commit 69b4a09
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@
<a *ngIf="session.type !== eSessionType.azure" (click)="changeProfileModalOpen();">Edit Profile</a>

<a *ngIf="session.type === eSessionType.awsIamUser && session.status !== eSessionStatus.active" (click)="editSession(session, $event);">Edit account</a>
<ng-container *ngIf="(session.type === eSessionType.awsIamRoleFederated || session.type === eSessionType.awsIamUser || session.type === eSessionType.awsSsoRole)">
<ng-container *ngIf="(session.type === eSessionType.awsIamRoleFederated || session.type === eSessionType.awsIamRoleChained || session.type === eSessionType.awsSsoRole)">
<a (click)="copyCredentials(session, 1, $event);">Copy Account Number</a>
<ng-container *ngIf="(session.type !== eSessionType.awsIamUser)">
<a (click)="copyCredentials(session, 2, $event);">Copy Role ARN</a>
</ng-container>
<a (click)="copyCredentials(session, 2, $event);">Copy Role ARN</a>
</ng-container>
<a (click)="deleteSession(session, $event);">Delete Session</a>

Expand Down

0 comments on commit 69b4a09

Please sign in to comment.