From 39852b2894e9d5c57c50eeaf22416159826f766a Mon Sep 17 00:00:00 2001 From: jasquat Date: Tue, 14 Nov 2023 10:17:25 -0500 Subject: [PATCH] render the loginHandler if components have not loaded on the extensions page to ensure user can log in --- spiffworkflow-frontend/src/routes/Extension.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/spiffworkflow-frontend/src/routes/Extension.tsx b/spiffworkflow-frontend/src/routes/Extension.tsx index 3fd10af3..6d29bd93 100644 --- a/spiffworkflow-frontend/src/routes/Extension.tsx +++ b/spiffworkflow-frontend/src/routes/Extension.tsx @@ -367,10 +367,16 @@ export default function Extension({ displayErrors = true }: OwnProps) { return (
{displayErrors ? : null} - {componentsToDisplay}
); } - return null; + + // load the login handler if the components haven't loaded to ensure + // things aren't loading because the user is not logged in + return ( +
+ +
+ ); }