Resolved circular dependency with UpdateLicenseDialogResult enum (#10056)

This commit is contained in:
Conner Turnbull 2024-07-10 13:34:51 -04:00 committed by GitHub
parent c7d64cfc25
commit e4c7efba12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 9 deletions

View File

@ -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",

View File

@ -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",
})

View File

@ -0,0 +1,4 @@
export enum UpdateLicenseDialogResult {
Updated = "updated",
Cancelled = "cancelled",
}

View File

@ -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",