refactor(ui): change serverVersion field localtion

This commit is contained in:
ReaJason
2026-01-18 23:49:41 +08:00
parent 9620076443
commit 33753844a7
11 changed files with 154 additions and 122 deletions
@@ -28,7 +28,6 @@ import { env } from "@/config";
import type { MemShellFormSchema } from "@/types/schema";
import { OptionalClassFormField } from "./classname-field";
import { ShellTypeFormField } from "./shelltype-field";
import { UrlPatternFormField } from "./urlpattern-field";
export function CommandTabContent({
form,
@@ -54,10 +53,7 @@ export function CommandTabContent({
<TabsContent value="Command">
<Card>
<CardContent className="space-y-2 mt-4">
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
<ShellTypeFormField form={form} shellTypes={shellTypes} />
<UrlPatternFormField form={form} />
</div>
<ShellTypeFormField form={form} shellTypes={shellTypes} />
<Controller
control={form.control}
name="commandParamName"