From b5fea921e6b858e69e28bf122a101e31f7c1438d Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 12 Jan 2025 11:49:27 +0100 Subject: [PATCH] grey out modbus with explanation if no psram --- interface/src/app/settings/ApplicationSettings.tsx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/interface/src/app/settings/ApplicationSettings.tsx b/interface/src/app/settings/ApplicationSettings.tsx index 0abf36959..aafecb4c9 100644 --- a/interface/src/app/settings/ApplicationSettings.tsx +++ b/interface/src/app/settings/ApplicationSettings.tsx @@ -9,12 +9,12 @@ import { Button, Checkbox, Divider, + Grid2 as Grid, InputAdornment, MenuItem, TextField, Typography } from '@mui/material'; -import Grid from '@mui/material/Grid2'; import { readSystemStatus } from 'api/system'; @@ -204,7 +204,16 @@ const ApplicationSettings = () => { disabled={!hardwareData.psram} /> } - label={LL.ENABLE_MODBUS()} + label={ + + {LL.ENABLE_MODBUS()} + {!hardwareData.psram && ( + +   (PSRAM required) + + )} + + } /> {data.modbus_enabled && (