fix: Create Human V1 (#9425)

# Which Problems Are Solved
- Correctly load Avatar on first load

# How the Problems Are Solved
- The Avatar issue was mostly due to how we resolved the current user, I
changed this behaviour

# Additional Changes
- Removed V2 create human code till seperate page is finished
- Remove Console Use V2 API feature flag from features page (till new
page is added)

# Additional Context
- Partially fixes #9382
- This will get implemented next week
https://github.com/zitadel/zitadel/issues/9382#issuecomment-2681347477
This commit is contained in:
Ramon
2025-02-27 09:31:48 +01:00
committed by GitHub
parent 3c471944c2
commit 83614562a2
9 changed files with 42 additions and 303 deletions
+3 -5
View File
@@ -1,9 +1,8 @@
<div class="main-container">
<ng-container *ngIf="(authService.user | async) || {} as user">
<ng-container *ngIf="authService.user | async as user">
<cnsl-header
*ngIf="user && user !== {}"
[org]="org"
[user]="$any(user)"
[user]="user"
[isDarkTheme]="componentCssClass === 'dark-theme'"
(changedActiveOrg)="changedOrg($event)"
></cnsl-header>
@@ -12,9 +11,8 @@
id="mainnav"
class="nav"
[ngClass]="{ shadow: yoffset > 60 }"
*ngIf="user && user !== {}"
[org]="org"
[user]="$any(user)"
[user]="user"
[isDarkTheme]="componentCssClass === 'dark-theme'"
></cnsl-nav>
</ng-container>