initial commit
This commit is contained in:
1 parent
7cfbc85d9b
commit
8cbde4a705
5 files changed
+95
-62
No files matched your search
@@ -20,14 +20,14 @@ export const useSettingsForm = ({ data = null }: UseSettingsFormOptions = {}) =>
|
||||
systemEmailAddress: data?.systemEmailAddress || "",
|
||||
systemEmailConnectionHost: data?.systemEmailConnectionHost || "localhost",
|
||||
systemEmailTLSServername: data?.systemEmailTLSServername || "",
|
||||
systemEmailPort: data?.systemEmailPort || "",
|
||||
systemEmailPort: data?.systemEmailPort,
|
||||
globalThresholds: {
|
||||
cpu: data?.globalThresholds?.cpu || "",
|
||||
memory: data?.globalThresholds?.memory || "",
|
||||
disk: data?.globalThresholds?.disk || "",
|
||||
temperature: data?.globalThresholds?.temperature || "",
|
||||
cpu: data?.globalThresholds?.cpu,
|
||||
memory: data?.globalThresholds?.memory,
|
||||
disk: data?.globalThresholds?.disk,
|
||||
temperature: data?.globalThresholds?.temperature,
|
||||
},
|
||||
checkTTL: data?.checkTTL || 30,
|
||||
checkTTL: data?.checkTTL ?? 30,
|
||||
pagespeedApiKey: "",
|
||||
systemEmailPassword: "",
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user