Ajout du module pour "ngIf ..."
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user