fix(console): project role ui optimization, disable resend init mail btn for reader (#2615)

* fix: new role button alignment

* disable init mail btn

* stylelint
This commit is contained in:
Max Peintner
2021-11-09 12:21:40 +01:00
committed by GitHub
parent b1ef990785
commit 659d1b1252
3 changed files with 55 additions and 44 deletions
@@ -65,8 +65,9 @@
<button pwdAction [disabled]="(canWrite$ | async) === false" (click)="sendSetPasswordNotification()"
mat-stroked-button color="primary" *ngIf="user.state === UserState.USER_STATE_INITIAL">{{
'USER.PASSWORD.RESENDNOTIFICATION' | translate }}</button>
<button emailAction class="resendemail" *ngIf="user.state === UserState.USER_STATE_INITIAL" mat-stroked-button
color="primary" (click)="resendInitEmail()">{{'USER.RESENDINITIALEMAIL' |
<button emailAction [disabled]="(canWrite$ | async) === false" class="resendemail"
*ngIf="user.state === UserState.USER_STATE_INITIAL" mat-stroked-button color="primary"
(click)="resendInitEmail()">{{'USER.RESENDINITIALEMAIL' |
translate}}</button>
</cnsl-contact>
</cnsl-card>