mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 20:50:07 +00:00
implement install-commands button (#10)
* fix: type conversion * implement install-commands button
This commit is contained in:
@@ -74,7 +74,10 @@ export default function SettingsPage() {
|
||||
const form = useForm<z.infer<typeof settingFormSchema>>({
|
||||
resolver: zodResolver(settingFormSchema),
|
||||
defaultValues: config
|
||||
? config
|
||||
? {
|
||||
...config,
|
||||
site_name: config.site_name || "",
|
||||
}
|
||||
: {
|
||||
ip_change_notification_group_id: 0,
|
||||
cover: 1,
|
||||
|
||||
Reference in New Issue
Block a user