refactor(ui): change serverVersion field localtion

This commit is contained in:
ReaJason
2026-01-14 00:27:32 +08:00
parent 6844c8336c
commit 37aec27cde
11 changed files with 154 additions and 122 deletions
@@ -7,7 +7,6 @@ import { TabsContent } from "@/components/ui/tabs";
import type { MemShellFormSchema } from "@/types/schema";
import { OptionalClassFormField } from "./classname-field";
import { ShellTypeFormField } from "./shelltype-field";
import { UrlPatternFormField } from "./urlpattern-field";
export function GodzillaTabContent({
form,
@@ -21,10 +20,7 @@ export function GodzillaTabContent({
<TabsContent value="Godzilla">
<Card>
<CardContent className="flex flex-col gap-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} />
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
<Controller
control={form.control}