mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
Resolved circular dependency with UpdateLicenseDialogResult enum (#10056)
This commit is contained in:
@@ -20,10 +20,8 @@ import {
|
|||||||
OffboardingSurveyDialogResultType,
|
OffboardingSurveyDialogResultType,
|
||||||
openOffboardingSurvey,
|
openOffboardingSurvey,
|
||||||
} from "../shared/offboarding-survey.component";
|
} from "../shared/offboarding-survey.component";
|
||||||
import {
|
import { UpdateLicenseDialogComponent } from "../shared/update-license-dialog.component";
|
||||||
UpdateLicenseDialogComponent,
|
import { UpdateLicenseDialogResult } from "../shared/update-license-types";
|
||||||
UpdateLicenseDialogResult,
|
|
||||||
} from "../shared/update-license-dialog.component";
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: "user-subscription.component.html",
|
templateUrl: "user-subscription.component.html",
|
||||||
|
|||||||
@@ -8,12 +8,9 @@ import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.servic
|
|||||||
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
||||||
import { DialogService } from "@bitwarden/components";
|
import { DialogService } from "@bitwarden/components";
|
||||||
|
|
||||||
|
import { UpdateLicenseDialogResult } from "./update-license-types";
|
||||||
import { UpdateLicenseComponent } from "./update-license.component";
|
import { UpdateLicenseComponent } from "./update-license.component";
|
||||||
|
|
||||||
export enum UpdateLicenseDialogResult {
|
|
||||||
Updated = "updated",
|
|
||||||
Cancelled = "cancelled",
|
|
||||||
}
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: "update-license-dialog.component.html",
|
templateUrl: "update-license-dialog.component.html",
|
||||||
})
|
})
|
||||||
|
|||||||
4
apps/web/src/app/billing/shared/update-license-types.ts
Normal file
4
apps/web/src/app/billing/shared/update-license-types.ts
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
export enum UpdateLicenseDialogResult {
|
||||||
|
Updated = "updated",
|
||||||
|
Cancelled = "cancelled",
|
||||||
|
}
|
||||||
@@ -6,7 +6,7 @@ import { OrganizationApiServiceAbstraction } from "@bitwarden/common/admin-conso
|
|||||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||||
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
||||||
|
|
||||||
import { UpdateLicenseDialogResult } from "./update-license-dialog.component";
|
import { UpdateLicenseDialogResult } from "./update-license-types";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: "app-update-license",
|
selector: "app-update-license",
|
||||||
|
|||||||
Reference in New Issue
Block a user