From b56dd53be2e14c4d542356e89f3ac307a26b0afe Mon Sep 17 00:00:00 2001 From: David Ichim Date: Fri, 4 Jun 2021 16:14:48 +0300 Subject: [PATCH] Refs #131062 check if basePathname has a true value: - otherwise we show progress on root of site when you are on a context and then you enter control panels and you click the back button which takes you to the site root --- src/ProgressWorkflow.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ProgressWorkflow.jsx b/src/ProgressWorkflow.jsx index 408d589..f6cd840 100644 --- a/src/ProgressWorkflow.jsx +++ b/src/ProgressWorkflow.jsx @@ -99,6 +99,7 @@ const ProgressWorkflow = (props) => { if ( contentId && contentContainsPathname && + basePathname && basePathname !== '/' && // wihout this there will be a flicker for going back to home ('/' is included in all api paths) workflowProgress?.result?.steps && workflowProgress.result.steps.length > 0 &&