From a61745b710b4cac0c1c93cf3125d2592de264022 Mon Sep 17 00:00:00 2001 From: proddy Date: Sat, 1 Aug 2026 16:44:03 +0200 Subject: [PATCH] formatting --- interface/src/app/main/OptionIcon.tsx | 6 +----- interface/src/app/settings/NTPSettings.tsx | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/interface/src/app/main/OptionIcon.tsx b/interface/src/app/main/OptionIcon.tsx index 9cb094e19..6b9fa5bc1 100644 --- a/interface/src/app/main/OptionIcon.tsx +++ b/interface/src/app/main/OptionIcon.tsx @@ -13,11 +13,7 @@ import VisibilityOutlinedIcon from '@mui/icons-material/VisibilityOutlined'; import type { SvgIconProps } from '@mui/material'; export type OptionType = - | 'deleted' - | 'readonly' - | 'web_exclude' - | 'api_mqtt_exclude' - | 'favorite'; + 'deleted' | 'readonly' | 'web_exclude' | 'api_mqtt_exclude' | 'favorite'; type IconPair = [ React.ComponentType, diff --git a/interface/src/app/settings/NTPSettings.tsx b/interface/src/app/settings/NTPSettings.tsx index 7fc947b7b..d6e0ea275 100644 --- a/interface/src/app/settings/NTPSettings.tsx +++ b/interface/src/app/settings/NTPSettings.tsx @@ -8,11 +8,11 @@ import { Box, Button, Checkbox, - Grid, Dialog, DialogActions, DialogContent, DialogTitle, + Grid, MenuItem, TextField, Typography @@ -40,7 +40,12 @@ import { formatLocalDateTime, updateValueDirty, useRest } from 'utils'; import { ValidationError, validate } from 'validators'; import { NTP_SETTINGS_VALIDATOR } from 'validators/ntp'; -import { TIME_ZONES, selectedTimeZone, useTimeZoneSelectItems, timeZoneSelectItemsT } from './TZ'; +import { + TIME_ZONES, + selectedTimeZone, + timeZoneSelectItemsT, + useTimeZoneSelectItems +} from './TZ'; const NTPSettings = () => { const { @@ -225,9 +230,11 @@ const NTPSettings = () => { select > {LL.OFF()} - {LL.ON()} - {LL.USE()} {LL.TIME_ZONE()} - + {LL.ON()} + + {LL.USE()} {LL.TIME_ZONE()} + + {data.thermostat_sync === 2 && (