From 168ad20bbffd7e77c8b82fdeca6033aad415fcc1 Mon Sep 17 00:00:00 2001 From: Ishan Gupta Date: Sat, 6 Mar 2021 10:26:05 +0530 Subject: [PATCH] minor fix for route and checkbox (#2506) Signed-off-by: ishangupta-ds --- litmus-portal/frontend/src/components/QuickActionCard/index.tsx | 2 +- .../views/AnalyticsDashboard/DataSource/Forms/prometheus.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/litmus-portal/frontend/src/components/QuickActionCard/index.tsx b/litmus-portal/frontend/src/components/QuickActionCard/index.tsx index 3bcb53ec6..1587212f8 100644 --- a/litmus-portal/frontend/src/components/QuickActionCard/index.tsx +++ b/litmus-portal/frontend/src/components/QuickActionCard/index.tsx @@ -27,7 +27,7 @@ const QuickActionCard: React.FC = ({ const userRole = useSelector((state: RootState) => state.userData.userRole); const tabs = useActions(TabActions); const { t } = useTranslation(); - const apiDocsUrl = `${window.location.href}api-doc`; + const apiDocsUrl = `${window.location.href}api-doc/index.html`; return (
diff --git a/litmus-portal/frontend/src/views/AnalyticsDashboard/DataSource/Forms/prometheus.tsx b/litmus-portal/frontend/src/views/AnalyticsDashboard/DataSource/Forms/prometheus.tsx index 408166a66..80bf98f52 100644 --- a/litmus-portal/frontend/src/views/AnalyticsDashboard/DataSource/Forms/prometheus.tsx +++ b/litmus-portal/frontend/src/views/AnalyticsDashboard/DataSource/Forms/prometheus.tsx @@ -270,6 +270,7 @@ const ConfigurePrometheus: React.FC = ({ control={