Update SettingsModal.svelte

This commit is contained in:
Timothy J. Baek 2023-10-24 02:09:24 -07:00
parent e9c83a8897
commit 38519a2654

View file

@ -39,6 +39,11 @@
if (res) { if (res) {
toast.success('Server connection verified'); toast.success('Server connection verified');
saveSettings(
API_BASE_URL === '' ? BUILD_TIME_API_BASE_URL : API_BASE_URL,
system != '' ? system : null,
temperature != 0.8 ? temperature : null
);
} }
}; };