mirror of
https://github.com/bitwarden/clients.git
synced 2026-11-16 07:03:29 +00:00
Fix bold issue but still follow old table behavior for old members table (#24728)
This commit is contained in:
@@ -209,20 +209,13 @@
|
||||
<!-- Role -->
|
||||
<bit-column sortable width="minmax(120px, 1fr)">
|
||||
<bit-header-cell>{{ "role" | i18n }}</bit-header-cell>
|
||||
<bit-cell *bitCellDef="table.columns.type; let row">
|
||||
@if (canManage && organization) {
|
||||
<button
|
||||
type="button"
|
||||
bitLink
|
||||
linkType="secondary"
|
||||
[attr.id]="'members-v2_button_edit-role-' + row.id"
|
||||
(click)="edit(row, organization, memberTab.Details)"
|
||||
>
|
||||
{{ row.type | userType }}
|
||||
</button>
|
||||
} @else {
|
||||
{{ row.type | userType }}
|
||||
}
|
||||
<!-- Matches v1: clicking the role cell opens the member dialog on the role tab. -->
|
||||
<bit-cell
|
||||
*bitCellDef="table.columns.type; let row"
|
||||
[class.tw-cursor-pointer]="canManage && organization"
|
||||
(click)="canManage && organization && edit(row, organization, memberTab.Details)"
|
||||
>
|
||||
{{ row.type | userType }}
|
||||
</bit-cell>
|
||||
</bit-column>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user