add web for Modules

This commit is contained in:
proddy
2024-05-30 18:16:31 +02:00
parent fb6b8813c7
commit cfe8235cee
9 changed files with 174 additions and 24 deletions

View File

@@ -141,6 +141,14 @@ const Modules: FC = () => {
useLayoutTitle('Modules');
if (modules.length === 0) {
return (
<Typography variant="body2" color="error">
No modules detected
</Typography>
);
}
return (
<Table
data={{ nodes: modules }}
@@ -192,7 +200,8 @@ const Modules: FC = () => {
{blocker ? <BlockNavigation blocker={blocker} /> : null}
<Box mb={2} color="warning.main">
<Typography variant="body2">
Activate or de-activate EMS-ESP library modules (** experimental **)
Activate or de-activate EMS-ESP library modules by selecting (**
experimental **)
</Typography>
</Box>
{renderModules()}