From f449775cd637fcda120e85843b0005a19360ca85 Mon Sep 17 00:00:00 2001 From: Aryan Shridhar <53977614+aryanshridhar@users.noreply.github.com> Date: Fri, 24 Dec 2021 11:53:53 +0530 Subject: [PATCH] fix(BUG): Allow users to enter application if no sample data is provided (#478). (#538) fix(BUG): Allow users to enter the application if no sample data is provided (#478). (#538) --- frontend/src/container/MetricsTable/index.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/src/container/MetricsTable/index.tsx b/frontend/src/container/MetricsTable/index.tsx index 275d649aa5..ed50b7fdd7 100644 --- a/frontend/src/container/MetricsTable/index.tsx +++ b/frontend/src/container/MetricsTable/index.tsx @@ -31,10 +31,7 @@ const Metrics = (): JSX.Element => { history.push(to); }; - if ( - (services.length === 0 && loading === false && !skipOnboarding) || - (loading == false && error === true) - ) { + if (services.length === 0 && loading === false && !skipOnboarding && error === true) { return ; }