From c05060c792a2675bf882f4bec950f8d5f683cdb6 Mon Sep 17 00:00:00 2001 From: DigneshGujarathi Date: Wed, 11 Nov 2020 12:36:51 +0530 Subject: [PATCH] Updated provider title --- src/containers/SettingList/Providers/Providers.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/containers/SettingList/Providers/Providers.tsx b/src/containers/SettingList/Providers/Providers.tsx index 804815b5e..94cf74553 100644 --- a/src/containers/SettingList/Providers/Providers.tsx +++ b/src/containers/SettingList/Providers/Providers.tsx @@ -151,7 +151,9 @@ export const Providers: React.SFC = ({ match }) => { FormSchema = Yup.object().shape(validation); }; + let title; if (providerData) { + title = providerData.providers[0].name; providerData.providers.map((provider: any) => { keys = JSON.parse(provider.keys); secrets = JSON.parse(provider.secrets); @@ -176,7 +178,7 @@ export const Providers: React.SFC = ({ match }) => {