ok to show devices if no ems connection

This commit is contained in:
Proddy
2024-01-03 22:56:03 +01:00
parent ab58a3dfd3
commit 5fcad37fb9

View File

@@ -420,7 +420,7 @@ const DashboardDevices: FC = () => {
<MessageBox my={2} level="warning" message={LL.EMS_BUS_SCANNING()} />
)}
{coreData.connected && (
{coreData.devices.length && (
<Table data={{ nodes: coreData.devices }} select={device_select} theme={device_theme} layout={{ custom: true }}>
{(tableList: any) => (
<>