Cleaned code
This commit is contained in:
@@ -113,8 +113,8 @@ export class GroupInfoComponent implements OnInit {
|
||||
const oldGroup = this.group().id;
|
||||
|
||||
try {
|
||||
await firstValueFrom(this.groupsService.deleteGroupEndpoint(oldGroup));
|
||||
this.idGroup.emit(oldGroup);
|
||||
await firstValueFrom(this.groupsService.deleteGroupEndpoint(oldGroup));
|
||||
this.idGroup.emit(oldGroup);
|
||||
const toast = await this.toastCtrl.create({
|
||||
message: 'Groupe supprimé',
|
||||
duration: 2000,
|
||||
|
||||
Reference in New Issue
Block a user