fix(console): change external links dynamically (#8423)

This PR fixes a problem, where the external links were not replaced
dynamically on an org change.
This commit is contained in:
Max Peintner
2024-08-26 08:07:23 +00:00
committed by GitHub
parent fd0c15dd4f
commit 5faaf87b22
2 changed files with 6 additions and 25 deletions
@@ -168,9 +168,11 @@
<span class="fill-space"></span>
<a class="custom-link" *ngIf="customLink && customLinkText" href="{{ customLink }}" mat-stroked-button target="_blank">
{{ customLinkText }}
</a>
<ng-container *ngIf="authService.privacypolicy | async as pP">
<a class="custom-link" *ngIf="pP.customLink" href="{{ pP.customLink }}" mat-stroked-button target="_blank">
{{ pP.customLinkText }}
</a>
</ng-container>
<a class="doc-link" *ngIf="docsLink" href="{{ docsLink }}" mat-stroked-button target="_blank">
{{ 'MENU.DOCUMENTATION' | translate }}