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:
parent
51c12c2cdc
commit
35b218b75a
@ -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
|
||||
|
@ -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?'}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user