mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-22 16:29:09 +01:00
[SM-464] remove org switcher item options (#4680)
* remove org switcher item options * remove comments
This commit is contained in:
parent
e9a288ec2b
commit
f51f5dc0f3
@ -1,5 +1,3 @@
|
||||
<!-- Please remove this disable statement when editing this file! -->
|
||||
<!-- eslint-disable @angular-eslint/template/button-has-type -->
|
||||
<bit-nav-group
|
||||
*ngIf="activeOrganization$ | async as activeOrganization"
|
||||
[text]="activeOrganization.name"
|
||||
@ -17,14 +15,6 @@
|
||||
(mainContentClicked)="toggle()"
|
||||
[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>
|
||||
</ng-container>
|
||||
<bit-nav-item
|
||||
@ -35,18 +25,3 @@
|
||||
></bit-nav-item>
|
||||
<bit-nav-divider></bit-nav-divider>
|
||||
</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>
|
||||
|
Loading…
Reference in New Issue
Block a user