1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: missing-toggle link should include name-param once

This commit is contained in:
Ivar Conradi Østhus 2021-09-30 10:36:00 +02:00
parent 51c12c2cdc
commit 35b218b75a
2 changed files with 3 additions and 3 deletions

View File

@ -362,7 +362,7 @@ exports[`renders correctly with permissions 1`] = `
className="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
>
<a
href="/projects/default/create-toggle?name=ToggleB?name=ToggleB"
href="/projects/default/create-toggle?name=ToggleB"
onClick={[Function]}
>
ToggleB
@ -457,7 +457,7 @@ exports[`renders correctly with permissions 1`] = `
className="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
>
<a
href="/strategies/create?name=StrategyB"
href="/strategies/create"
onClick={[Function]}
>
StrategyB

View File

@ -34,7 +34,7 @@ function ApplicationView({
</ListItemAvatar>
<ListItemText
primary={
<Link to={`${createUrl}?name=${name}`}>{name}</Link>
<Link to={`${createUrl}`}>{name}</Link>
}
secondary={'Missing, want to create?'}
/>