Skip to content

Commit

Permalink
[frontend] When deleting a connector in ingestion => connectors, inte…
Browse files Browse the repository at this point in the history
…rface is redirected to the connector and then to the list (#7828)
  • Loading branch information
SarahBocognano authored Nov 21, 2024
1 parent 497ca07 commit 7b60bf1
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import { Link, useNavigate } from 'react-router-dom';
import { ConnectorsStatusQuery } from '@components/data/connectors/__generated__/ConnectorsStatusQuery.graphql';
import { ConnectorsStatus_data$key } from '@components/data/connectors/__generated__/ConnectorsStatus_data.graphql';
import makeStyles from '@mui/styles/makeStyles';
import { ListItemButton } from '@mui/material';
import Transition from '../../../../components/Transition';
import { FIVE_SECONDS } from '../../../../utils/Time';
import { useFormatter } from '../../../../components/i18n';
Expand Down Expand Up @@ -375,7 +374,7 @@ const ConnectorsStatusComponent: FunctionComponent<ConnectorsStatusComponentProp
</ListItem>

{sortedConnectors && sortedConnectors.map((connector) => (
<ListItemButton
<ListItem
key={connector.id}
classes={{ root: classes.item }}
divider={true}
Expand Down Expand Up @@ -468,7 +467,7 @@ const ConnectorsStatusComponent: FunctionComponent<ConnectorsStatusComponentProp
</>
</Security>
</ListItemSecondaryAction>
</ListItemButton>
</ListItem>
))}
</List>
</CardContent>
Expand Down

0 comments on commit 7b60bf1

Please sign in to comment.