Ajout du module pour "ngIf ..."

This commit is contained in:
2026-01-14 14:23:41 +01:00
parent c4cc91bb06
commit bc56e21b1a
16 changed files with 4831 additions and 15 deletions

View File

@@ -2,6 +2,7 @@ import { Component, OnInit } from "@angular/core";
import { Router, ActivatedRoute } from "@angular/router";
import { FormBuilder, FormGroup, Validators } from "@angular/forms";
import { TranslateModule, TranslateService } from "@ngx-translate/core";
import { CommonModule } from "@angular/common";
import { first } from "rxjs/operators";
@@ -12,7 +13,7 @@ import { User } from "../../models/user";
selector: "app-create-user",
templateUrl: "./create-user.component.html",
styleUrls: ["./create-user.component.css"],
imports: [TranslateModule],
imports: [TranslateModule, CommonModule],
})
export class CreateUserComponent implements OnInit {
createForm: FormGroup;