diff --git a/src/app/views/sidebar/sample-queries/SampleQueriesV9.tsx b/src/app/views/sidebar/sample-queries/SampleQueriesV9.tsx index 6981e5218..b6f706d17 100644 --- a/src/app/views/sidebar/sample-queries/SampleQueriesV9.tsx +++ b/src/app/views/sidebar/sample-queries/SampleQueriesV9.tsx @@ -224,7 +224,13 @@ const RenderSampleLeafs = (props: SampleLeaf) => { {leafs.map((query: ISampleQuery) => { const notSignedIn = !isSignedIn && query.method !== 'GET'; const handleOnClick = (item:ISampleQuery)=>{ - if(isSignedIn) {handleSelectedSample(item)} + if (!isSignedIn) { + if (query.method === 'GET') { + handleSelectedSample(item) + } + } else { + handleSelectedSample(item) + } } return (