mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:17:32 +00:00
local changes
This commit is contained in:
@@ -216,21 +216,6 @@ export class AppComponent {
|
|||||||
)
|
)
|
||||||
.subscribe((orgId) => this.newOrganizationService.setOrgId(orgId));
|
.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 = this.themeService.isDarkTheme;
|
||||||
this.isDarkTheme.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((dark) => {
|
this.isDarkTheme.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((dark) => {
|
||||||
const theme = dark ? 'dark-theme' : 'light-theme';
|
const theme = dark ? 'dark-theme' : 'light-theme';
|
||||||
|
@@ -1,8 +1,6 @@
|
|||||||
<ng-container *ngIf="['iam.read$', 'iam.write$'] | hasRole as iamuser$">
|
<ng-container *ngIf="['iam.read$', 'iam.write$'] | hasRole as iamuser$">
|
||||||
<div class="nav-col" [ngClass]="{ 'is-admin': (iamuser$ | async) }">
|
<div class="nav-col" [ngClass]="{ 'is-admin': (iamuser$ | async) }">
|
||||||
<ng-container
|
<ng-container *ngIf="breadcrumbService.breadcrumbsExtended$ | async as breadc">
|
||||||
*ngIf="breadcrumbService.breadcrumbsExtended$ | async as breadc"
|
|
||||||
>
|
|
||||||
<ng-container
|
<ng-container
|
||||||
*ngIf="
|
*ngIf="
|
||||||
breadc[breadc.length - 1] &&
|
breadc[breadc.length - 1] &&
|
||||||
|
@@ -43,7 +43,7 @@
|
|||||||
<ng-container *ngIf="!isHandset()">
|
<ng-container *ngIf="!isHandset()">
|
||||||
<ng-container *ngFor="let bread of breadcrumbs(); index as i; let last = last">
|
<ng-container *ngFor="let bread of breadcrumbs(); index as i; let last = last">
|
||||||
<ng-container *ngTemplateOutlet="slash"></ng-container>
|
<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 }}
|
{{ bread.name }}
|
||||||
</a>
|
</a>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
@@ -12,3 +12,9 @@
|
|||||||
letter-spacing: 3px;
|
letter-spacing: 3px;
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.new-header-breadcrumb {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: inherit;
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user