mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: handle undefined project with default (#486)
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
This commit is contained in:
parent
f4d8d523c1
commit
2cb9c130b7
@ -29,6 +29,7 @@
|
||||
"start": "react-scripts start",
|
||||
"start:heroku": "UNLEASH_API=https://unleash.herokuapp.com yarn run start",
|
||||
"start:ea": "UNLEASH_API=https://unleash4.herokuapp.com yarn run start",
|
||||
"start:demo": "UNLEASH_API=http://unleash.herokuapp.com yarn run start",
|
||||
"test": "react-scripts test",
|
||||
"prepare": "yarn run build",
|
||||
"e2e": "yarn run cypress open --config baseUrl='http://localhost:3000' --env PASSWORD_AUTH=true,AUTH_TOKEN=$AUTH_TOKEN",
|
||||
|
@ -98,7 +98,7 @@ function ApplicationView({
|
||||
key={`toggle_conditional_${name}`}
|
||||
condition={notFound}
|
||||
show={notFoundListItem({
|
||||
createUrl: `/projects/${project}/create-toggle?name=${name}`,
|
||||
createUrl: `/projects/default/create-toggle?name=${name}`,
|
||||
name,
|
||||
permission: CREATE_FEATURE,
|
||||
i,
|
||||
|
Loading…
Reference in New Issue
Block a user