Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Clutch
Commits
82f1bce5
Commit
82f1bce5
authored
4 years ago
by
Daniel Hochman
Browse files
Options
Download
Email Patches
Plain Diff
re-add error
parent
175bf909
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/packages/core/src/Resolver/index.tsx
+2
-1
frontend/packages/core/src/Resolver/index.tsx
with
2 additions
and
1 deletion
+2
-1
frontend/packages/core/src/Resolver/index.tsx
+
2
-
1
View file @
82f1bce5
...
...
@@ -6,7 +6,7 @@ import styled from "styled-components";
import
{
AccordionGroup
}
from
"
../accordion
"
;
import
{
Button
}
from
"
../button
"
;
import
{
useWizardContext
}
from
"
../Contexts
"
;
import
{
Error
}
from
"
../error
"
;
import
{
CompressedError
,
Error
}
from
"
../error
"
;
import
{
HorizontalRule
}
from
"
../horizontal-rule
"
;
import
Loadable
from
"
../loading
"
;
...
...
@@ -93,6 +93,7 @@ const Resolver: React.FC<ResolverProps> = ({ type, searchLimit, onResolve, varia
<
Error
message
=
{
state
.
schemaFetchError
}
onRetry
=
{
()
=>
loadSchemas
(
type
,
dispatch
)
}
/>
)
:
(
<
Loadable
variant
=
"overlay"
isLoading
=
{
state
.
resolverLoading
}
>
<
CompressedError
title
=
"Error"
message
=
{
state
.
resolverFetchError
}
/>
{
(
variant
===
"
dual
"
||
variant
===
"
query
"
)
&&
(
<
Form
onSubmit
=
{
queryValidation
.
handleSubmit
(()
=>
submitHandler
(
queryData
))
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help