Don't break version selector

This commit is contained in:
Danielv123 committed 2026-01-28 09:06:52 +01:00
1 parent 9061d2aa92
commit 2eedddf17f
2 files changed
+3 -3

No files matched your search

@@ -48,7 +48,7 @@ export default function InputPartialVersion (
return {
title: majorMinor,
value: groupKey,
value: majorMinor,
key: groupKey,
children: patchVersions.map((v) => ({
title: v,
@@ -2,7 +2,7 @@ import React, { useContext, useEffect, useState } from "react";
import { TreeSelect } from "antd";
import * as lib from "@clusterio/lib";
import { InputComponentProps } from "../BaseWebPlugin";
import type { InputComponentProps } from "../BaseWebPlugin";
import { useAccount } from "../model/account";
import ControlContext from "./ControlContext";
@@ -48,7 +48,7 @@ export default function InputTargetVersion (
return {
title: majorMinor,
value: groupKey,
value: majorMinor,
key: groupKey,
children: patchVersions.map((v) => ({
title: v,