1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

[PM-11436] New "+" button (#10907)

* replace icon in "new" button on admin-console

* replace icon in "new" button on secrets manager

* reduce flash of "new item" button by checking the availability of the organization
This commit is contained in:
Nick Krantz
2024-09-11 11:29:53 -05:00
committed by GitHub
parent 4fa31b8f2b
commit db9003458b
2 changed files with 9 additions and 10 deletions

View File

@@ -1,11 +1,6 @@
<button
type="button"
bitButton
class="tw-min-w-max"
buttonType="primary"
[bitMenuTriggerFor]="newMenu"
>
{{ "new" | i18n }} <i class="bwi bwi-angle-down" aria-hidden="true"></i>
<button type="button" bitButton buttonType="primary" [bitMenuTriggerFor]="newMenu">
<i class="bwi bwi-plus-f" aria-hidden="true"></i>
{{ "new" | i18n }}<i class="bwi tw-ml-2" aria-hidden="true"></i>
</button>
<bit-menu #newMenu>