PM-2051 Addressed review comments

This commit is contained in:
KiruthigaManivannan 2024-05-16 17:54:29 +05:30
parent 97e6a1e00b
commit 1eb08af755
2 changed files with 6 additions and 6 deletions

View File

@ -27,10 +27,10 @@
</td>
<td bitCell>
{{ user.email }}
<small class="text-muted d-block" *ngIf="user.name">{{ user.name }}</small>
<small class="tw-text-muted tw-block" *ngIf="user.name">{{ user.name }}</small>
</td>
<td bitCell *ngIf="this.showNoMasterPasswordWarning">
<span class="text-muted d-block tw-lowercase">
<span class="tw-text-muted tw-block tw-lowercase">
<ng-container *ngIf="user.hasMasterPassword === true"> - </ng-container>
<ng-container *ngIf="user.hasMasterPassword === false">
<i class="bwi bwi-exclamation-triangle" aria-hidden="true"></i>
@ -57,7 +57,7 @@
</td>
<td bitCell>
{{ user.email }}
<small class="text-muted d-block" *ngIf="user.name">{{ user.name }}</small>
<small class="tw-text-muted tw-block" *ngIf="user.name">{{ user.name }}</small>
</td>
<td *ngIf="statuses.has(user.id)" bitCell>
{{ statuses.get(user.id) }}
@ -77,7 +77,7 @@
type="submit"
buttonType="primary"
[disabled]="loading"
(click)="submit()"
[bitAction]="submit"
>
{{ "removeUsers" | i18n }}
</button>

View File

@ -42,7 +42,7 @@ export class BulkRemoveComponent {
);
}
async submit() {
submit = async () => {
this.loading = true;
try {
const response = await this.deleteUsers();
@ -57,7 +57,7 @@ export class BulkRemoveComponent {
}
this.loading = false;
}
};
protected async deleteUsers() {
return await this.organizationUserService.deleteManyOrganizationUsers(