deleted notifs components
This commit is contained in:
@@ -8,15 +8,15 @@ import {NzNotificationService} from "ng-zorro-antd/notification";
|
||||
import {firstValueFrom} from "rxjs";
|
||||
|
||||
@Component({
|
||||
selector: 'app-user',
|
||||
selector: 'app-user',
|
||||
imports: [
|
||||
UserTable,
|
||||
ModalButton,
|
||||
ProfilForm,
|
||||
Search
|
||||
],
|
||||
templateUrl: './user.html',
|
||||
styleUrl: './user.css',
|
||||
templateUrl: './user.html',
|
||||
styleUrl: './user.css',
|
||||
})
|
||||
export class User {
|
||||
modal = viewChild.required<ModalButton>('modalButton');
|
||||
@@ -37,8 +37,7 @@ export class User {
|
||||
}
|
||||
|
||||
async addUser() {
|
||||
if (this.createUser().profilForm.invalid)
|
||||
{
|
||||
if (this.createUser().profilForm.invalid) {
|
||||
this.notificationService.error(
|
||||
'Erreur',
|
||||
'Erreur d\'écriture dans le formulaire'
|
||||
|
||||
Reference in New Issue
Block a user