From 07f20feda29bc08ee934db12da99949496f3727d Mon Sep 17 00:00:00 2001 From: Shane Melton Date: Tue, 27 Jun 2023 16:50:03 -0700 Subject: [PATCH] [AC-1418] Move SM adjust subscription component into SM billing module --- .../organizations/organization-billing.module.ts | 2 -- .../secrets-manager/sm-billing.module.ts | 13 +++++++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/apps/web/src/app/billing/organizations/organization-billing.module.ts b/apps/web/src/app/billing/organizations/organization-billing.module.ts index 6349c6c581..781e19d67b 100644 --- a/apps/web/src/app/billing/organizations/organization-billing.module.ts +++ b/apps/web/src/app/billing/organizations/organization-billing.module.ts @@ -12,7 +12,6 @@ import { OrganizationBillingRoutingModule } from "./organization-billing-routing import { OrganizationBillingTabComponent } from "./organization-billing-tab.component"; import { OrganizationSubscriptionCloudComponent } from "./organization-subscription-cloud.component"; import { OrganizationSubscriptionSelfhostComponent } from "./organization-subscription-selfhost.component"; -import { SecretsManagerAdjustSubscriptionComponent } from "./secrets-manager/sm-adjust-subscription.component"; import { SecretsManagerBillingModule } from "./secrets-manager/sm-billing.module"; import { SubscriptionHiddenComponent } from "./subscription-hidden.component"; @@ -34,7 +33,6 @@ import { SubscriptionHiddenComponent } from "./subscription-hidden.component"; OrganizationSubscriptionSelfhostComponent, OrganizationSubscriptionCloudComponent, SubscriptionHiddenComponent, - SecretsManagerAdjustSubscriptionComponent, ], }) export class OrganizationBillingModule {} diff --git a/apps/web/src/app/billing/organizations/secrets-manager/sm-billing.module.ts b/apps/web/src/app/billing/organizations/secrets-manager/sm-billing.module.ts index a46286fc5a..127a6e49fe 100644 --- a/apps/web/src/app/billing/organizations/secrets-manager/sm-billing.module.ts +++ b/apps/web/src/app/billing/organizations/secrets-manager/sm-billing.module.ts @@ -2,12 +2,21 @@ import { NgModule } from "@angular/core"; import { SharedModule } from "../../../shared"; +import { SecretsManagerAdjustSubscriptionComponent } from "./sm-adjust-subscription.component"; import { SecretsManagerSubscribeStandaloneComponent } from "./sm-subscribe-standalone.component"; import { SecretsManagerSubscribeComponent } from "./sm-subscribe.component"; @NgModule({ imports: [SharedModule], - declarations: [SecretsManagerSubscribeComponent, SecretsManagerSubscribeStandaloneComponent], - exports: [SecretsManagerSubscribeComponent, SecretsManagerSubscribeStandaloneComponent], + declarations: [ + SecretsManagerSubscribeComponent, + SecretsManagerSubscribeStandaloneComponent, + SecretsManagerAdjustSubscriptionComponent, + ], + exports: [ + SecretsManagerSubscribeComponent, + SecretsManagerSubscribeStandaloneComponent, + SecretsManagerAdjustSubscriptionComponent, + ], }) export class SecretsManagerBillingModule {}