mirror of
https://github.com/bitwarden/browser
synced 2025-12-31 07:33:23 +00:00
* migrate auth toasts to CL toastService * fix component args * fix component args * fix specs * fix toastService args
25 lines
1.0 KiB
TypeScript
25 lines
1.0 KiB
TypeScript
import { Component } from "@angular/core";
|
|
|
|
import { EnvironmentComponent as BaseEnvironmentComponent } from "@bitwarden/angular/auth/components/environment.component";
|
|
import { ModalService } from "@bitwarden/angular/services/modal.service";
|
|
import { EnvironmentService } from "@bitwarden/common/platform/abstractions/environment.service";
|
|
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
|
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
|
import { ToastService } from "@bitwarden/components";
|
|
|
|
@Component({
|
|
selector: "app-environment",
|
|
templateUrl: "environment.component.html",
|
|
})
|
|
export class EnvironmentComponent extends BaseEnvironmentComponent {
|
|
constructor(
|
|
platformUtilsService: PlatformUtilsService,
|
|
environmentService: EnvironmentService,
|
|
i18nService: I18nService,
|
|
modalService: ModalService,
|
|
toastService: ToastService,
|
|
) {
|
|
super(platformUtilsService, environmentService, i18nService, modalService, toastService);
|
|
}
|
|
}
|