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

[PM-9855] Add premium badge to new file send item dropdown (#10137)

* Create browsers SendV2 component

* Add premium badge to new file send item dropdown

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
Daniel James Smith
2024-07-18 15:41:09 +02:00
committed by GitHub
parent 84b719d797
commit cebbb9486e
2 changed files with 24 additions and 5 deletions

View File

@@ -10,5 +10,8 @@
<a type="button" bitMenuItem (click)="newItemNavigate(sendType.File)">
<i class="bwi bwi-file" slot="start" aria-hidden="true"></i>
{{ "sendTypeFile" | i18n }}
<button type="button" slot="end" *ngIf="hasNoPremium" bitBadge variant="success">
{{ "premium" | i18n }}
</button>
</a>
</bit-menu>