mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix: Change feature flag for starting at empty WF state for PH experiments (no-changelog) (#4606)
This commit is contained in:
parent
e7316c588f
commit
d1ffc58aa4
|
@ -74,7 +74,7 @@ const router = new Router({
|
||||||
name: VIEWS.HOMEPAGE,
|
name: VIEWS.HOMEPAGE,
|
||||||
meta: {
|
meta: {
|
||||||
getRedirect() {
|
getRedirect() {
|
||||||
const startOnNewWorkflowRouteFlag = window.posthog?.isFeatureEnabled?.('start-at-wf-empty-state');
|
const startOnNewWorkflowRouteFlag = window.posthog?.getFeatureFlag?.('start-at-wf-empty-state') === 'test';
|
||||||
return { name: startOnNewWorkflowRouteFlag ? VIEWS.NEW_WORKFLOW : VIEWS.WORKFLOWS };
|
return { name: startOnNewWorkflowRouteFlag ? VIEWS.NEW_WORKFLOW : VIEWS.WORKFLOWS };
|
||||||
},
|
},
|
||||||
permissions: {
|
permissions: {
|
||||||
|
|
Loading…
Reference in a new issue