mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
[SM-464] remove org switcher item options (#4680)
* remove org switcher item options * remove comments
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
<!-- Please remove this disable statement when editing this file! -->
|
|
||||||
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
|
||||||
<bit-nav-group
|
<bit-nav-group
|
||||||
*ngIf="activeOrganization$ | async as activeOrganization"
|
*ngIf="activeOrganization$ | async as activeOrganization"
|
||||||
[text]="activeOrganization.name"
|
[text]="activeOrganization.name"
|
||||||
@@ -17,14 +15,6 @@
|
|||||||
(mainContentClicked)="toggle()"
|
(mainContentClicked)="toggle()"
|
||||||
[hideActiveStyles]="true"
|
[hideActiveStyles]="true"
|
||||||
>
|
>
|
||||||
<button
|
|
||||||
slot-end
|
|
||||||
bitIconButton="bwi-ellipsis-v"
|
|
||||||
[bitMenuTriggerFor]="orgSwitchMenu"
|
|
||||||
size="small"
|
|
||||||
[title]="'options' | i18n"
|
|
||||||
[attr.aria-label]="['organization' | i18n, org.name, 'options' | i18n].join(' ')"
|
|
||||||
></button>
|
|
||||||
</bit-nav-item>
|
</bit-nav-item>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<bit-nav-item
|
<bit-nav-item
|
||||||
@@ -35,18 +25,3 @@
|
|||||||
></bit-nav-item>
|
></bit-nav-item>
|
||||||
<bit-nav-divider></bit-nav-divider>
|
<bit-nav-divider></bit-nav-divider>
|
||||||
</bit-nav-group>
|
</bit-nav-group>
|
||||||
|
|
||||||
<bit-menu #orgSwitchMenu>
|
|
||||||
<button type="button" bitMenuItem>
|
|
||||||
<i class="bwi bwi-fw bwi-key tw-text-xl" aria-hidden="true"></i>
|
|
||||||
<span>{{ "enrollPasswordReset" | i18n }}</span>
|
|
||||||
</button>
|
|
||||||
<button type="button" bitMenuItem>
|
|
||||||
<i class="bwi bwi-fw bwi-link tw-text-xl" aria-hidden="true"></i>
|
|
||||||
<span>{{ "linkSso" | i18n }}</span>
|
|
||||||
</button>
|
|
||||||
<button type="button" bitMenuItem>
|
|
||||||
<i class="bwi bwi-fw bwi-sign-out tw-text-xl tw-text-danger" aria-hidden="true"></i>
|
|
||||||
<span class="tw-text-danger">{{ "leaveOrganization" | i18n }}</span>
|
|
||||||
</button>
|
|
||||||
</bit-menu>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user