1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-19 00:43:25 +00:00

[AC-1420] Add Secrets Manager subscribe component (#5617)

This commit is contained in:
Thomas Rittson
2023-06-23 14:26:59 +10:00
committed by GitHub
parent 797ca073b8
commit 86ccff78cb
28 changed files with 574 additions and 162 deletions

View File

@@ -21,7 +21,7 @@
[providerName]="userOrg.providerName"
></app-org-subscription-hidden>
<ng-container *ngIf="sub">
<ng-container *ngIf="sub && firstLoaded">
<bit-callout
type="warning"
title="{{ 'canceled' | i18n }}"
@@ -115,12 +115,12 @@
></app-change-plan>
</ng-container>
<ng-container *ngIf="userOrg.canEditSubscription">
<sm-enroll
*ngIf="isAdmin"
[enabled]="sub?.useSecretsManager"
[organizationId]="organizationId"
></sm-enroll>
<ng-container *ngIf="showSecretsManagerSubscribe">
<sm-subscribe-standalone
[plan]="sub.secretsManagerPlan"
[organization]="userOrg"
(onSubscribe)="subscriptionAdjusted()"
></sm-subscribe-standalone>
</ng-container>
<ng-container *ngIf="userOrg.canEditSubscription">