1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

[PM-12732] - fix new send button (#11266)

* fix new send button

* simplify logic. use static class name where possible
This commit is contained in:
Jordan Aasen
2024-10-01 02:36:34 -07:00
committed by GitHub
parent 0ae672fc0c
commit 5a1583cb0a
3 changed files with 10 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
<button bitButton [bitMenuTriggerFor]="itemOptions" buttonType="primary" type="button">
<i class="bwi bwi-plus-f" aria-hidden="true"></i>
{{ "new" | i18n }}
<i *ngIf="!hideIcon" class="bwi bwi-plus-f" aria-hidden="true"></i>
{{ (hideIcon ? "createSend" : "new") | i18n }}
</button>
<bit-menu #itemOptions>
<a type="button" bitMenuItem (click)="newItemNavigate(sendType.Text)">