From 90bfdfd577c02aee520545cf8758019042cdf99c Mon Sep 17 00:00:00 2001 From: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com> Date: Tue, 20 Dec 2022 09:39:29 +0100 Subject: [PATCH] fix: Redirect home to workflows always (#4968) fix: redirect to workflows always --- packages/editor-ui/src/router.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/editor-ui/src/router.ts b/packages/editor-ui/src/router.ts index 1253c6985..759f2dbd7 100644 --- a/packages/editor-ui/src/router.ts +++ b/packages/editor-ui/src/router.ts @@ -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: {