mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-22 16:29:09 +01:00
Resolved circular dependency with UpdateLicenseDialogResult enum (#10056)
This commit is contained in:
parent
c7d64cfc25
commit
e4c7efba12
@ -20,10 +20,8 @@ import {
|
||||
OffboardingSurveyDialogResultType,
|
||||
openOffboardingSurvey,
|
||||
} from "../shared/offboarding-survey.component";
|
||||
import {
|
||||
UpdateLicenseDialogComponent,
|
||||
UpdateLicenseDialogResult,
|
||||
} from "../shared/update-license-dialog.component";
|
||||
import { UpdateLicenseDialogComponent } from "../shared/update-license-dialog.component";
|
||||
import { UpdateLicenseDialogResult } from "../shared/update-license-types";
|
||||
|
||||
@Component({
|
||||
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 { DialogService } from "@bitwarden/components";
|
||||
|
||||
import { UpdateLicenseDialogResult } from "./update-license-types";
|
||||
import { UpdateLicenseComponent } from "./update-license.component";
|
||||
|
||||
export enum UpdateLicenseDialogResult {
|
||||
Updated = "updated",
|
||||
Cancelled = "cancelled",
|
||||
}
|
||||
@Component({
|
||||
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 { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
||||
|
||||
import { UpdateLicenseDialogResult } from "./update-license-dialog.component";
|
||||
import { UpdateLicenseDialogResult } from "./update-license-types";
|
||||
|
||||
@Component({
|
||||
selector: "app-update-license",
|
||||
|
Loading…
Reference in New Issue
Block a user