mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 03:03:43 +00:00
Move web to apps/web and bitwarden_license/bit-web
This commit is contained in:
21
bitwarden_license/bit-web/src/app/app.component.ts
Normal file
21
bitwarden_license/bit-web/src/app/app.component.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { Component } from "@angular/core";
|
||||
|
||||
import { AppComponent as BaseAppComponent } from "src/app/app.component";
|
||||
|
||||
import { DisablePersonalVaultExportPolicy } from "./policies/disable-personal-vault-export.component";
|
||||
import { MaximumVaultTimeoutPolicy } from "./policies/maximum-vault-timeout.component";
|
||||
|
||||
@Component({
|
||||
selector: "app-root",
|
||||
templateUrl: "../../../src/app/app.component.html",
|
||||
})
|
||||
export class AppComponent extends BaseAppComponent {
|
||||
ngOnInit() {
|
||||
super.ngOnInit();
|
||||
|
||||
this.policyListService.addPolicies([
|
||||
new MaximumVaultTimeoutPolicy(),
|
||||
new DisablePersonalVaultExportPolicy(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user