From 2f222aebded186d2782808a0f797dc70f895f23d Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Tue, 18 Jan 2022 21:41:27 +0530 Subject: [PATCH] feat: moved the logic up for managing request url --- .../src/components/QueryUrl/index.js | 3 +- .../src/components/RequestTabPanel/index.js | 29 ++++++++++++------- .../src/providers/Store/actions.js | 2 ++ .../src/providers/Store/reducer.js | 15 ++++++++++ 4 files changed, 37 insertions(+), 12 deletions(-) diff --git a/packages/grafnode-components/src/components/QueryUrl/index.js b/packages/grafnode-components/src/components/QueryUrl/index.js index 95f6fbb21..4141f5874 100644 --- a/packages/grafnode-components/src/components/QueryUrl/index.js +++ b/packages/grafnode-components/src/components/QueryUrl/index.js @@ -85,7 +85,8 @@ const QueryUrl = ({value, onChange, handleRun, collections}) => {
onChange(event.target.value)} + type="text" defaultValue={value} + onChange={(event) => onChange(event.target.value)} />