diff --git a/src/app/components/group-info/group-info.component.html b/src/app/components/group-info/group-info.component.html index 7d44001..d374381 100644 --- a/src/app/components/group-info/group-info.component.html +++ b/src/app/components/group-info/group-info.component.html @@ -57,22 +57,11 @@ } @else { - @switch (n) { - @case (1) { - -

Ajouter un membre

- -
- } - @case (2) { - -

Supprimer le groupe

- -
- } - } + +

Supprimer le groupe

+ +
} } diff --git a/src/app/components/group-info/group-info.component.ts b/src/app/components/group-info/group-info.component.ts index 85f6b75..c6818f7 100644 --- a/src/app/components/group-info/group-info.component.ts +++ b/src/app/components/group-info/group-info.component.ts @@ -35,7 +35,7 @@ export class GroupInfoComponent implements OnInit { idGroup = output(); - options = [1, 2, 3]; + options = [1, 2]; ngOnInit() { this.group.set(this.groupSelected());