[SM-533] update onboarding CLI link (#4960)

This commit is contained in:
Will Martin 2023-03-09 09:22:32 -05:00 committed by GitHub
parent 6a6a47b52f
commit 9676387ab7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 2 deletions

View File

@ -15,7 +15,11 @@
<button type="button" bitLink *ngIf="!route">
<ng-container *ngTemplateOutlet="content"></ng-container>
</button>
<div class="tw-ml-8 tw-mt-1 tw-text-sm" [ngClass]="{ 'tw-opacity-50': completed }">
<div
class="tw-ml-8 tw-mt-1 tw-text-sm"
[ngClass]="{ 'tw-opacity-50': completed }"
(click)="handleClick($event)"
>
<ng-content></ng-content>
</div>
</li>

View File

@ -19,4 +19,11 @@ export class OnboardingTaskComponent {
@Input()
route: string | any[];
handleClick(ev: MouseEvent) {
/**
* If the main `ng-content` is clicked, we don't want to trigger the task's click handler.
*/
ev.stopPropagation();
}
}

View File

@ -11,7 +11,13 @@
[completed]="view.tasks.createServiceAccount"
>
<span class="tw-pl-1">
{{ "downloadThe" | i18n }} <a bitLink routerLink="">{{ "smCLI" | i18n }}</a>
{{ "downloadThe" | i18n }}
<a
bitLink
href="https://bitwarden.com/help/secrets-manager/developer-quick-start/"
target="_blank"
>{{ "smCLI" | i18n }}</a
>
</span>
</sm-onboarding-task>
<sm-onboarding-task