fixed errors in user page

This commit is contained in:
2025-11-28 09:34:03 +01:00
parent 8263a58ea7
commit 2419f602f3
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ export class ProfilForm {
password: new FormControl<string>(null, [Validators.required]) password: new FormControl<string>(null, [Validators.required])
}) })
user = input<GetUserDto | null>(null); user = input<GetUserDto>();
constructor() { constructor() {
effect(() => { effect(() => {
if (this.user()) { if (this.user()) {

View File

@@ -5,7 +5,7 @@
(ok)="onModalOk()" (ok)="onModalOk()"
(cancel)="onModalCancel()"> (cancel)="onModalCancel()">
<app-profil-form #profilForm [user]=""></app-profil-form> <app-profil-form #profilForm></app-profil-form>
</app-modal-button> </app-modal-button>
<div class="ml-95 w-150"> <div class="ml-95 w-150">