Merge branch 'develop' into 1067-fe-hardware-monitoring-create-hardware-monitor

This commit is contained in:
Shemy Gan committed 2024-11-18 09:17:53 -05:00
commit 683ea81db4
13 files changed
+85 -431

No files matched your search

@@ -340,7 +340,8 @@ const CreateInfrastructureMonitor = () => {
fieldValue={infrastructureMonitor[THRESHOLD_FIELD_PREFIX + type] ?? ""}
onFieldChange={handleChange}
onFieldBlur={handleBlur}
alertUnit="%"
// TODO: need BE, maybe in another PR
alertUnit={type == "temperature" ? "°C" : "%"}
infrastructureMonitor={infrastructureMonitor}
errors={errors}
/>
@@ -349,7 +350,7 @@ const CreateInfrastructureMonitor = () => {
<Typography
component="span"
className="input-error"
color={theme.palette.error.text}
color={theme.palette.error.main}
mt={theme.spacing(2)}
sx={{
opacity: 0.8,