mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-05-06 05:38:51 +00:00
fix: language code conversion (#53)
This commit is contained in:
@@ -104,7 +104,7 @@ export default function ServerPage() {
|
||||
accessorFn: (row) => row.host.version || t("Unknown"),
|
||||
},
|
||||
{
|
||||
header: t("Enable") + t("DDNS"),
|
||||
header: t("EnableDDNS"),
|
||||
accessorKey: "enableDDNS",
|
||||
accessorFn: (row) => row.enable_ddns ?? false,
|
||||
},
|
||||
|
||||
@@ -79,6 +79,7 @@ export default function SettingsPage() {
|
||||
defaultValues: config
|
||||
? {
|
||||
...config,
|
||||
language: config.language.replace("_", "-"),
|
||||
site_name: config.site_name || "",
|
||||
user_template:
|
||||
config.user_template ||
|
||||
|
||||
Reference in New Issue
Block a user