fixed errors in user page
This commit is contained in:
@@ -33,7 +33,7 @@ export class ProfilForm {
|
||||
password: new FormControl<string>(null, [Validators.required])
|
||||
})
|
||||
|
||||
user = input<GetUserDto | null>(null);
|
||||
user = input<GetUserDto>();
|
||||
constructor() {
|
||||
effect(() => {
|
||||
if (this.user()) {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
(ok)="onModalOk()"
|
||||
(cancel)="onModalCancel()">
|
||||
|
||||
<app-profil-form #profilForm [user]=""></app-profil-form>
|
||||
<app-profil-form #profilForm></app-profil-form>
|
||||
</app-modal-button>
|
||||
|
||||
<div class="ml-95 w-150">
|
||||
|
||||
Reference in New Issue
Block a user