From 887f4196ece8ddfa228b2093e1904f39182cb82a Mon Sep 17 00:00:00 2001 From: Tushar Balar Date: Wed, 3 Mar 2021 16:10:13 +0530 Subject: [PATCH] feat: Fixed issue --- .../src/main/webapp/pages/entry_page.jsx | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/splunk_add_on_ucc_framework/ucc_ui_lib/src/main/webapp/pages/entry_page.jsx b/splunk_add_on_ucc_framework/ucc_ui_lib/src/main/webapp/pages/entry_page.jsx index b452208d7..66287f671 100644 --- a/splunk_add_on_ucc_framework/ucc_ui_lib/src/main/webapp/pages/entry_page.jsx +++ b/splunk_add_on_ucc_framework/ucc_ui_lib/src/main/webapp/pages/entry_page.jsx @@ -40,9 +40,14 @@ if (page === 'inputs') { - Hello, from inside Inputs! -
Your component will appear below.
- + {({loading, appData}) => { + return !loading && appData && ( + <> + Hello, from inside Inputs! + + + ) + }}
, @@ -53,9 +58,14 @@ if (page === 'inputs') { - Hello, from inside Configuration! -
Your component will appear below.
- + {({loading, appData}) => { + return !loading && appData && ( + <> + Hello, from inside Configuration! + + + ) + }}
,