mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +09:00
Don't break version selector
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user