1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

[SM-477] remove new org button from org-switcher (#4677)

* remove new org button from org-switcher

* add comment
This commit is contained in:
Will Martin
2023-02-07 10:23:25 -05:00
committed by GitHub
parent 40e6471070
commit e9a288ec2b
3 changed files with 9 additions and 1 deletions

View File

@@ -36,6 +36,13 @@ export class OrgSwitcherComponent {
@Output()
openChange = new EventEmitter<boolean>();
/**
* Visibility of the New Organization button
* (Temporary; will be removed when ability to create organizations is added to SM.)
*/
@Input()
hideNewButton = false;
constructor(private route: ActivatedRoute, private organizationService: OrganizationService) {}
protected toggle(event?: MouseEvent) {