feat: added schema validation before saving collections to idb

This commit is contained in:
Anoop M D
2022-10-15 02:48:06 +05:30
parent a78bdf87fe
commit 4ff268712f
16 changed files with 88 additions and 85 deletions

View File

@@ -122,7 +122,7 @@ const RequestTabPanel = () => {
className="px-4"
style={{width: `${leftPaneWidth}px`, height: 'calc(100% - 5px)'}}
>
{item.type === 'graphql' ? (
{item.type === 'graphql-request' ? (
<GraphQLRequestPane
onRunQuery={runQuery}
schema={schema}
@@ -132,7 +132,7 @@ const RequestTabPanel = () => {
/>
) : null}
{item.type === 'http' ? (
{item.type === 'http-request' ? (
<HttpRequestPane
item={item}
collection={collection}