From 6fe7219ffa01acf0e4c42e396a534455768a61a2 Mon Sep 17 00:00:00 2001 From: Yanick Minder Date: Fri, 18 Oct 2024 10:36:03 +0200 Subject: [PATCH] refactor dialog calls with config by introducing a service --- .../team-management/member-list/member-list.component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/team-management/member-list/member-list.component.ts b/frontend/src/app/team-management/member-list/member-list.component.ts index 1ae5ba4865..87afca569e 100644 --- a/frontend/src/app/team-management/member-list/member-list.component.ts +++ b/frontend/src/app/team-management/member-list/member-list.component.ts @@ -6,7 +6,11 @@ import { User } from '../../shared/types/model/User'; import { convertFromUsers, UserTableEntry } from '../../shared/types/model/UserTableEntry'; import { TeamService } from '../../services/team.service'; import { Team } from '../../shared/types/model/Team'; -import { AddMemberToTeamDialogComponent } from '../add-member-to-team-dialog/add-member-to-team-dialog.component'; +import { MatDialog, MatDialogConfig } from '@angular/material/dialog'; +import { + AddMemberToTeamDialogComponent, + AddMemberToTeamDialogComponentData, +} from '../add-member-to-team-dialog/add-member-to-team-dialog.component'; import { AddEditTeamDialog } from '../add-edit-team-dialog/add-edit-team-dialog.component'; import { MatTableDataSource } from '@angular/material/table'; import { InviteUserDialogComponent } from '../invite-user-dialog/invite-user-dialog.component';