mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
[console] sort types alphabetically in remote schema type dropdown (close #9412)
GITHUB_PR_NUMBER: 9413 GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9413 PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7799 Co-authored-by: Tom Jenkinson <3259993+tjenkinson@users.noreply.github.com> Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com> GitOrigin-RevId: 7392b4c0c5eb237a143ce7b398d0a85bef4602fc
This commit is contained in:
parent
5cba05b441
commit
f35e043cb6
@ -47,7 +47,7 @@ const SelectOne = ({
|
|||||||
data-test={label}
|
data-test={label}
|
||||||
>
|
>
|
||||||
<option value="">Select Type ...</option>
|
<option value="">Select Type ...</option>
|
||||||
{options.map((op, i) => (
|
{[...options].sort().map((op, i) => (
|
||||||
<option value={op} key={i}>
|
<option value={op} key={i}>
|
||||||
{op}
|
{op}
|
||||||
</option>
|
</option>
|
||||||
|
@ -31,7 +31,7 @@ const SelectOne = ({
|
|||||||
<option value="" className="text-base">
|
<option value="" className="text-base">
|
||||||
Select Type ...
|
Select Type ...
|
||||||
</option>
|
</option>
|
||||||
{options.map((op, i) => (
|
{[...options].sort().map((op, i) => (
|
||||||
<option value={op} key={i}>
|
<option value={op} key={i}>
|
||||||
{op}
|
{op}
|
||||||
</option>
|
</option>
|
||||||
|
Loading…
Reference in New Issue
Block a user