mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-02 20:32:19 +00:00
* fix: remove access interceptor for console * feat: show dialog on exhausted requests * fix exhausted cookie handling * fix quota exhausted screen * read instance mgmt from environment.json * fix interceptors * don't check cookie on environment.json * fix environment.json path * exclude environment.json from cookie check * remove cookie before loading env * use UTC to delete the cookie * delete cookie before fetching env * simplify cookie handling * lint * review cleanup * use exhausted property from env json * fix bootstrapping * lint * always open mgmt link if present * chore: fetch env json before ng serve * wait for cookie to be removed * fix typo * don't wait for cookie to be set
22 lines
650 B
TypeScript
22 lines
650 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
import { 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 implements OnInit {
|
|
public policy?: PrivacyPolicy.AsObject;
|
|
constructor(public authService: GrpcAuthService) {}
|
|
|
|
ngOnInit(): void {
|
|
this.authService.getMyPrivacyPolicy().then((policyResp) => {
|
|
if (policyResp.policy) {
|
|
this.policy = policyResp.policy;
|
|
}
|
|
});
|
|
}
|
|
}
|