Update SettingsModal.svelte

This commit is contained in:
Timothy J. Baek 2023-10-24 02:09:24 -07:00
parent e9c83a8897
commit 38519a2654
1 changed files with 5 additions and 0 deletions

View File

@ -39,6 +39,11 @@
if (res) {
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
);
}
};