Resolved circular dependency with UpdateLicenseDialogResult enum (#10056)
This commit is contained in:
parent
c7d64cfc25
commit
e4c7efba12
|
@ -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",
|
||||||
})
|
})
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue