SM-617: Remove secret links when displaying secret in the trash (#4984)

This commit is contained in:
Colton Hurst 2023-03-11 12:15:19 -05:00 committed by GitHub
parent d4c812160f
commit d74504ec72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -64,9 +64,10 @@
<td bitCell>
<div class="tw-flex tw-items-center tw-gap-4 tw-break-all">
<i class="bwi bwi-key tw-text-muted" aria-hidden="true"></i>
<button type="button" bitLink (click)="editSecretEvent.emit(secret.id)">
<button type="button" bitLink (click)="editSecretEvent.emit(secret.id)" *ngIf="!trash">
{{ secret.name }}
</button>
<div *ngIf="trash">{{ secret.name }}</div>
</div>
</td>
<td bitCell>