Skip to content

Commit 201a028

Browse files
committed
Change update drawer to dialog
1 parent 1a2eb69 commit 201a028

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

openbas-front/src/admin/components/components/teams/TeamPopover.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { type OrganizationHelper, type TagHelper } from '../../../../actions/hel
77
import { type TeamInputForm } from '../../../../actions/teams/Team';
88
import { deleteTeam, updateTeam } from '../../../../actions/teams/team-actions';
99
import { type TeamsHelper } from '../../../../actions/teams/team-helper';
10-
import Drawer from '../../../../components/common/Drawer';
10+
import Dialog from '../../../../components/common/Dialog';
1111
import Transition from '../../../../components/common/Transition';
1212
import { useFormatter } from '../../../../components/i18n';
1313
import { useHelper } from '../../../../store';
@@ -201,7 +201,7 @@ const TeamPopover: FunctionComponent<TeamPopoverProps> = ({
201201
</Button>
202202
</DialogActions>
203203
</MuiDialog>
204-
<Drawer
204+
<Dialog
205205
open={openEdit}
206206
handleClose={handleCloseEdit}
207207
title={t('Update the team')}
@@ -212,7 +212,7 @@ const TeamPopover: FunctionComponent<TeamPopoverProps> = ({
212212
onSubmit={onSubmitEdit}
213213
editing
214214
/>
215-
</Drawer>
215+
</Dialog>
216216
<MuiDialog
217217
open={openRemove}
218218
TransitionComponent={Transition}

0 commit comments

Comments
 (0)