From 735f7928e27714e9150aecb9f8dd2910cad9d541 Mon Sep 17 00:00:00 2001 From: ikethecoder Date: Tue, 31 May 2022 23:27:07 -0700 Subject: [PATCH] fix svc acct and couple other minor fixes --- src/nextapp/components/auth-action/auth-action.tsx | 9 --------- .../service-account-create/service-account-create.tsx | 2 +- src/nextapp/pages/login.tsx | 2 +- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/nextapp/components/auth-action/auth-action.tsx b/src/nextapp/components/auth-action/auth-action.tsx index 8d347d465..444581170 100644 --- a/src/nextapp/components/auth-action/auth-action.tsx +++ b/src/nextapp/components/auth-action/auth-action.tsx @@ -89,15 +89,6 @@ const Signin: React.FC = ({ site }) => { > My Profile - - API Docs - = ({ {isSuccess && - data?.currentNamespace.scopes.map((s) => ( + data?.currentNamespace?.scopes?.map((s) => ( {s.name} diff --git a/src/nextapp/pages/login.tsx b/src/nextapp/pages/login.tsx index 8368459b5..2c1e33c45 100644 --- a/src/nextapp/pages/login.tsx +++ b/src/nextapp/pages/login.tsx @@ -87,7 +87,7 @@ const LoginPage: React.FC = () => { one of the options available below. - +