fixed errors in user page
This commit is contained in:
@@ -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()) {
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user