mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-31 13:47:02 +02: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": "react-scripts start",
|
||||||
"start:heroku": "UNLEASH_API=https://unleash.herokuapp.com yarn run start",
|
"start:heroku": "UNLEASH_API=https://unleash.herokuapp.com yarn run start",
|
||||||
"start:ea": "UNLEASH_API=https://unleash4.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",
|
"test": "react-scripts test",
|
||||||
"prepare": "yarn run build",
|
"prepare": "yarn run build",
|
||||||
"e2e": "yarn run cypress open --config baseUrl='http://localhost:3000' --env PASSWORD_AUTH=true,AUTH_TOKEN=$AUTH_TOKEN",
|
"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}`}
|
key={`toggle_conditional_${name}`}
|
||||||
condition={notFound}
|
condition={notFound}
|
||||||
show={notFoundListItem({
|
show={notFoundListItem({
|
||||||
createUrl: `/projects/${project}/create-toggle?name=${name}`,
|
createUrl: `/projects/default/create-toggle?name=${name}`,
|
||||||
name,
|
name,
|
||||||
permission: CREATE_FEATURE,
|
permission: CREATE_FEATURE,
|
||||||
i,
|
i,
|
||||||
|
Loading…
Reference in New Issue
Block a user