From e9a288ec2b8c027ceb8daf378c5cf585ca204539 Mon Sep 17 00:00:00 2001 From: Will Martin Date: Tue, 7 Feb 2023 10:23:25 -0500 Subject: [PATCH] [SM-477] remove new org button from org-switcher (#4677) * remove new org button from org-switcher * add comment --- .../app/secrets-manager/layout/navigation.component.html | 2 +- .../app/secrets-manager/layout/org-switcher.component.html | 1 + .../app/secrets-manager/layout/org-switcher.component.ts | 7 +++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bitwarden_license/bit-web/src/app/secrets-manager/layout/navigation.component.html b/bitwarden_license/bit-web/src/app/secrets-manager/layout/navigation.component.html index b6a16f0b4d6..ce43bef3317 100644 --- a/bitwarden_license/bit-web/src/app/secrets-manager/layout/navigation.component.html +++ b/bitwarden_license/bit-web/src/app/secrets-manager/layout/navigation.component.html @@ -2,7 +2,7 @@ - + (); + /** + * 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) {