Unverified Commit 30e5dad3 authored by Derek's avatar Derek Committed by GitHub
Browse files

Revert "frontend: sort Resolver select options (#1240)" (#1248)

This reverts commit 517b1aba.
parent d8a1f251
Showing with 1 addition and 2 deletions
+1 -2
import React from "react";
import type { clutch } from "@clutch-sh/api";
import _ from "lodash";
import Select from "../Input/select";
import TextField from "../Input/text-field";
......@@ -73,7 +72,7 @@ const OptionField = (
});
}, []);
const options = _.sortBy(field.metadata.optionField.options, o => o.displayName).map(option => {
const options = field.metadata.optionField.options.map(option => {
return { label: option.displayName, value: option.stringValue };
});
const updateSelectedOption = (value: string) => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment