mirror of https://github.com/jetkvm/kvm.git
Merged in dev hotfix
This commit is contained in:
parent
748155d815
commit
b74f779daa
|
|
@ -2,7 +2,7 @@ import { useMemo } from "react";
|
||||||
import { LuArrowUp, LuArrowDown, LuX, LuTrash2 } from "react-icons/lu";
|
import { LuArrowUp, LuArrowDown, LuX, LuTrash2 } from "react-icons/lu";
|
||||||
|
|
||||||
import { Button } from "@components/Button";
|
import { Button } from "@components/Button";
|
||||||
import { Combobox } from "@components/Combobox";
|
import { Combobox, ComboboxOption } from "@components/Combobox";
|
||||||
import Card from "@components/Card";
|
import Card from "@components/Card";
|
||||||
import FieldLabel from "@components/FieldLabel";
|
import FieldLabel from "@components/FieldLabel";
|
||||||
import { SelectMenuBasic } from "@components/SelectMenuBasic";
|
import { SelectMenuBasic } from "@components/SelectMenuBasic";
|
||||||
|
|
@ -209,8 +209,9 @@ export function MacroStepCard({
|
||||||
)}
|
)}
|
||||||
<div className="relative w-full">
|
<div className="relative w-full">
|
||||||
<Combobox
|
<Combobox
|
||||||
onChange={(value) => {
|
onChange={(option) => {
|
||||||
onKeySelect({ value: value as string | null });
|
const selectedOption = option as ComboboxOption | null;
|
||||||
|
onKeySelect({ value: selectedOption?.value ?? null });
|
||||||
onKeyQueryChange('');
|
onKeyQueryChange('');
|
||||||
}}
|
}}
|
||||||
displayValue={() => keyQuery}
|
displayValue={() => keyQuery}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue