mirror of
https://github.com/zitadel/zitadel.git
synced 2025-05-05 00:50:49 +00:00

* header check * eslint, header link * labelpolicy promise * set isdefault of branding to false on add * icon * branding toggles
21 lines
670 B
TypeScript
21 lines
670 B
TypeScript
import { Component, Input } from '@angular/core';
|
|
import { LabelPolicy, PrivacyPolicy } from 'src/app/proto/generated/zitadel/policy_pb';
|
|
import { GrpcAuthService } from 'src/app/services/grpc-auth.service';
|
|
|
|
@Component({
|
|
selector: 'cnsl-footer',
|
|
templateUrl: './footer.component.html',
|
|
styleUrls: ['./footer.component.scss'],
|
|
})
|
|
export class FooterComponent {
|
|
public policy?: PrivacyPolicy.AsObject;
|
|
@Input() public privateLabelPolicy?: LabelPolicy.AsObject;
|
|
constructor(authService: GrpcAuthService) {
|
|
authService.getMyPrivacyPolicy().then((policyResp) => {
|
|
if (policyResp.policy) {
|
|
this.policy = policyResp.policy;
|
|
}
|
|
});
|
|
}
|
|
}
|