local changes

This commit is contained in:
conblem
2025-07-08 15:16:33 +02:00
parent 17ea1b3868
commit 69dda39733
4 changed files with 8 additions and 19 deletions

View File

@@ -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';

View File

@@ -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] &&

View File

@@ -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>

View File

@@ -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;
}