resolve warnings and type errors

This commit is contained in:
2026-03-19 21:31:07 +01:00
parent f8510c8db3
commit 75d88257c8
99 changed files with 11 additions and 12 deletions

0
src/components/configuration/AssistRulesEditor.tsx Normal file → Executable file
View File

0
src/components/configuration/ConfigurationEditor.tsx Normal file → Executable file
View File

0
src/components/configuration/EventConfigEditor.tsx Normal file → Executable file
View File

0
src/components/configuration/EventRulesEditor.tsx Normal file → Executable file
View File

2
src/components/configuration/ServerSettingsEditor.tsx Normal file → Executable file
View File

@@ -98,7 +98,7 @@ export function ServerSettingsEditor({ serverId, config }: ServerSettingsEditorP
const formDataObj = new FormData();
Object.entries(formData).forEach(([key, value]) => {
formDataObj.append(key, value.toString());
formDataObj.append(key, value?.toString() ?? '');
});
if (restart) {
formDataObj.append('restart', 'on');