From da9f4e1fb38240520723b465cf2f14f69bce5aff Mon Sep 17 00:00:00 2001 From: Will Martin Date: Fri, 24 Feb 2023 08:58:00 -0500 Subject: [PATCH] [SM-554] hide admin onboarding items from non-admin (#4843) * hide onboarding items if not admin * fix inconsistent padding --- .../src/app/secrets-manager/overview/overview.component.html | 4 +++- .../src/app/secrets-manager/overview/overview.component.ts | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bitwarden_license/bit-web/src/app/secrets-manager/overview/overview.component.html b/bitwarden_license/bit-web/src/app/secrets-manager/overview/overview.component.html index 1da49ab344..8f35776a60 100644 --- a/bitwarden_license/bit-web/src/app/secrets-manager/overview/overview.component.html +++ b/bitwarden_license/bit-web/src/app/secrets-manager/overview/overview.component.html @@ -10,11 +10,12 @@ icon="bwi-cli" [completed]="view.tasks.createServiceAccount" > - + {{ "downloadThe" | i18n }} {{ "smCLI" | i18n }} { this.organizationId = org.id; this.organizationName = org.name; + this.userIsAdmin = org.isAdmin; }); const projects$ = combineLatest([