1
0
mirror of https://github.com/bitwarden/web synced 2026-01-06 18:43:18 +00:00
Files
web/bitwarden_license/src/app/providers/settings/settings.component.ts
2021-12-17 15:57:11 +01:00

24 lines
706 B
TypeScript

import { Component } from "@angular/core";
import { ActivatedRoute } from "@angular/router";
import { PlatformUtilsService } from "jslib-common/abstractions/platformUtils.service";
import { ProviderService } from "jslib-common/abstractions/provider.service";
@Component({
selector: "provider-settings",
templateUrl: "settings.component.html",
})
export class SettingsComponent {
constructor(
private route: ActivatedRoute,
private providerService: ProviderService,
private platformUtilsService: PlatformUtilsService
) {}
ngOnInit() {
this.route.parent.params.subscribe(async (params) => {
const provider = await this.providerService.get(params.providerId);
});
}
}