mirror of
https://github.com/bitwarden/browser
synced 2026-02-16 08:34:39 +00:00
[PM-30734] hide the trash icon on the new item modal (#18342)
This commit is contained in:
@@ -106,15 +106,17 @@
|
||||
></button>
|
||||
}
|
||||
}
|
||||
<button
|
||||
bitIconButton="bwi-trash"
|
||||
type="button"
|
||||
buttonType="danger"
|
||||
[label]="'delete' | i18n"
|
||||
[bitAction]="delete"
|
||||
[disabled]="!canDelete"
|
||||
data-testid="delete-cipher-btn"
|
||||
></button>
|
||||
@if (cipher) {
|
||||
<button
|
||||
bitIconButton="bwi-trash"
|
||||
type="button"
|
||||
buttonType="danger"
|
||||
[label]="'delete' | i18n"
|
||||
[bitAction]="delete"
|
||||
[disabled]="!canDelete"
|
||||
data-testid="delete-cipher-btn"
|
||||
></button>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
</ng-container>
|
||||
|
||||
Reference in New Issue
Block a user