mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
fix: Redirect home to workflows always (#4968)
fix: redirect to workflows always
This commit is contained in:
parent
5b11dc3ff9
commit
90bfdfd577
|
@ -74,9 +74,7 @@ const router = new Router({
|
|||
name: VIEWS.HOMEPAGE,
|
||||
meta: {
|
||||
getRedirect() {
|
||||
const startOnNewWorkflowRouteFlag =
|
||||
window.posthog?.getFeatureFlag?.('start-at-wf-empty-state') === 'test';
|
||||
return { name: startOnNewWorkflowRouteFlag ? VIEWS.NEW_WORKFLOW : VIEWS.WORKFLOWS };
|
||||
return { name: VIEWS.WORKFLOWS };
|
||||
},
|
||||
permissions: {
|
||||
allow: {
|
||||
|
|
Loading…
Reference in a new issue