From e3987206de8f496a38ceb906a866e34994753038 Mon Sep 17 00:00:00 2001 From: Palash gupta Date: Wed, 18 May 2022 07:37:15 +0530 Subject: [PATCH] feat: url encoding is added in the new dashboard query --- frontend/src/container/GridGraphLayout/Graph/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/container/GridGraphLayout/Graph/index.tsx b/frontend/src/container/GridGraphLayout/Graph/index.tsx index fa87b67638..42d1d3fb49 100644 --- a/frontend/src/container/GridGraphLayout/Graph/index.tsx +++ b/frontend/src/container/GridGraphLayout/Graph/index.tsx @@ -65,7 +65,7 @@ function GridCardGraph({ .map(async (query) => { const result = await getQueryResult({ end, - query: query.query, + query: encodeURIComponent(query.query), start, step: '60', });