feat: edit server config online (#112)

* feat: edit server config online

* fix schema

* fix error
This commit is contained in:
UUBulb
2025-01-31 13:32:16 +08:00
committed by GitHub
parent 42b85f74a9
commit a794b6dd31
6 changed files with 338 additions and 1 deletions
+2
View File
@@ -6,6 +6,7 @@ import { HeaderButtonGroup } from "@/components/header-button-group"
import { InstallCommandsMenu } from "@/components/install-commands"
import { NoteMenu } from "@/components/note-menu"
import { ServerCard } from "@/components/server"
import { ServerConfigCard } from "@/components/server-config"
import { TerminalButton } from "@/components/terminal"
import { Checkbox } from "@/components/ui/checkbox"
import {
@@ -143,6 +144,7 @@ export default function ServerPage() {
<>
<TerminalButton id={s.id} />
<ServerCard mutate={mutate} data={s} />
<ServerConfigCard id={s.id} />
</>
</ActionButtonGroup>
)