mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 13:07:46 +00:00
local changes
This commit is contained in:
@@ -216,21 +216,6 @@ export class AppComponent {
|
||||
)
|
||||
.subscribe((orgId) => this.newOrganizationService.setOrgId(orgId));
|
||||
|
||||
// todo: think about this one
|
||||
// this.authenticationService.authenticationChanged
|
||||
// .pipe(
|
||||
// filter(Boolean),
|
||||
// switchMap(() => this.authService.getActiveOrg()),
|
||||
// takeUntilDestroyed(this.destroyRef),
|
||||
// )
|
||||
// .subscribe({
|
||||
// next: (org) => (this.org = org),
|
||||
// error: async (err) => {
|
||||
// console.error(err);
|
||||
// return this.router.navigate(['/users/me']);
|
||||
// },
|
||||
// });
|
||||
//
|
||||
this.isDarkTheme = this.themeService.isDarkTheme;
|
||||
this.isDarkTheme.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((dark) => {
|
||||
const theme = dark ? 'dark-theme' : 'light-theme';
|
||||
|
@@ -1,8 +1,6 @@
|
||||
<ng-container *ngIf="['iam.read$', 'iam.write$'] | hasRole as iamuser$">
|
||||
<div class="nav-col" [ngClass]="{ 'is-admin': (iamuser$ | async) }">
|
||||
<ng-container
|
||||
*ngIf="breadcrumbService.breadcrumbsExtended$ | async as breadc"
|
||||
>
|
||||
<ng-container *ngIf="breadcrumbService.breadcrumbsExtended$ | async as breadc">
|
||||
<ng-container
|
||||
*ngIf="
|
||||
breadc[breadc.length - 1] &&
|
||||
|
@@ -43,7 +43,7 @@
|
||||
<ng-container *ngIf="!isHandset()">
|
||||
<ng-container *ngFor="let bread of breadcrumbs(); index as i; let last = last">
|
||||
<ng-container *ngTemplateOutlet="slash"></ng-container>
|
||||
<a matRipple [matRippleUnbounded]="false" [routerLink]="bread.routerLink">
|
||||
<a class="new-header-breadcrumb" matRipple [matRippleUnbounded]="false" [routerLink]="bread.routerLink">
|
||||
{{ bread.name }}
|
||||
</a>
|
||||
</ng-container>
|
||||
|
@@ -12,3 +12,9 @@
|
||||
letter-spacing: 3px;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.new-header-breadcrumb {
|
||||
color: inherit;
|
||||
text-decoration: inherit;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
Reference in New Issue
Block a user